neon (16th September 2009), protonrules (18th September 2009)
Hello everyone,
Just wondering if anyone can help me, I have written a batch file for users at logon. It is very simple and calls 6 network drives... (net use : "blah blah")
It is a new school year and I have made new network drives and mapped them under new letters. Is there a script that anyone has that deletes all mapped network drives before starting to map new ones? I have tried.... net use "letter": /delete and net use *: /delete but this doesn't work... I am not to good at vbs but wouldnt mind it if any one can help I would be very grateful.
Steve
Have you tried:
net use * /delete /y
that should work. The /y is to say 'yes delete the drives'. Without it i don't think it will work in a login script as it will not get a response...
neon (16th September 2009), protonrules (18th September 2009)
Thank you, I will try it.![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)