Re: Local Scripting

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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
--

"ftnalex" <ftnalex@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D9A1CF4C-8C4D-4D5F-9ED2-1FF3C225DADC@xxxxxxxxxxxxxxxx
> 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?


.



Relevant Pages

  • Re: Need help on reading line from file into list
    ... That bit of syntax is completely, utterly, 100%, identical to ... the readlines() method of that file object is then called. ... passed as the second parameter to the map() function. ...
    (comp.lang.python)
  • Re: FSet/CL 1.0 released!
    ... The former example shows that 'map' is a macro with its own evaluation ... both macros with syntax, but the syntax of `map' is more complex (and ... other constructor macros too, ...
    (comp.lang.lisp)
  • Re: Passing Passwords Between Pages
    ... I have only used Submit in conjunction with Method Post. ... fiqure out the syntax for bringing up the right map. ... >> PageA the student enters his Password ...
    (microsoft.public.scripting.vbscript)
  • Mapping printer via login script
    ... I have been trying to map a printer within the SBS login script and I can't ... I am using the syntax: ... Prev by Date: ...
    (microsoft.public.windows.server.sbs)