Local Scripting

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm trying to write a basic script to run when they system starts up to
automatically map some network drives. I'm having some trouble though,
because I need to use a different username and password than the one that I'm
logged on with to map these drives. This is what I have so far and I'm
guessing that my syntax is not quite right.

net use g: \\server\share /user:username password

Is this incorrect?
 
Your syntax is correct. You might be interested in some sample scripts I
call EasyMap which you can down load from my web site. Note that in XP
(unlike in 9x) you can map resources with a username other than your XP
logon name, however, all your concurrent mappings must use the same name /
password.

Tech Tips and Downloads page at
http:// [Remove this and spaces] www. gtscomputerservice. com
 
Back
Top