![]() |
|
|
|
#1 |
|
Here's a great scripting site. There are some really good login script
samples. http://cwashington.netreach.net/ Hope it helps, Dale "Rafay Aslam" <> wrote in message news:9EC483F4-E96C-4AAC-9203-... > I want to write a Login script, so that when user login, they get the network drives and printers. > But i want to do first is in the script is ,.. before it map any drive, script should disconnect any mappped network share that mapped to that Drive Letter that i want to use. > > DalePres |
|
|
|
|
#2 |
|
Posts: n/a
|
@echo off
@echo. @echo Deleting existing drives..... net use z: /delete /yes >null net use y: /delete /yes >null @echo. @echo Mapping drives..... net use z: \\server\share1 /persistent:no >null net use y: \\server\share2 /persistent:no >null "DalePres" <don-t-spa-m-me@lea-ve-me-a-lone--.com> wrote in message news:#... > Here's a great scripting site. There are some really good login script > samples. > > http://cwashington.netreach.net/ > > Hope it helps, > > Dale > > "Rafay Aslam" <> wrote in message > news:9EC483F4-E96C-4AAC-9203-... > > I want to write a Login script, so that when user login, they get the > network drives and printers. > > But i want to do first is in the script is ,.. before it map any drive, > script should disconnect any mappped network share that mapped to that Drive > Letter that i want to use. > > > > > > |
|