Coding Thread, Logon Script Help in Coding and Web Development; Hello everyone,
Just wondering if anyone can help me, I have written a batch file for users at logon. It ...
16th September 2009, 10:41 AM #1
Logon Script Help
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.
IDG Tech News
16th September 2009, 10:43 AM #2
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...
2 Thanks to bmdixon:
neon (16th September 2009), protonrules (18th September 2009)
16th September 2009, 10:48 AM #3
Thank you, I will try it.
By AlexB in forum Windows
Last Post: 28th April 2009, 10:42 AM
By karldenton in forum Windows
Last Post: 25th March 2009, 12:05 PM
By djones in forum Scripts
Last Post: 13th March 2008, 06:00 PM
By Galway in forum Windows
Last Post: 29th August 2007, 11:00 AM
By ajbritton in forum Windows
Last Post: 19th June 2006, 09:47 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)