Automapping Network Drive script?

vital

Platinum Member
Sep 28, 2000
2,534
1
81
anyone know how i would automap a network drive on bootup but not have it display an error message if the network computer is off? I heard this can be done with a script, but i'm not familiar with scripting, does anyone know where I can get a premade one for win2k?
 

CoolTech

Platinum Member
Jul 10, 2000
2,345
3
0
dude, for win2k it does it automatically if you click reconnect on login when u first map the drive.
 

vital

Platinum Member
Sep 28, 2000
2,534
1
81
dude, i already know it automatically maps the network drive IF it's on...but i don't want it to pop up a message if the network drive is NOT on....in other words, i would like it to check if network computer is on, then map the network drive to g: or whatever i specified (which win2k already does), else skip it...and skip the error message that asks me if i wanna check for network drive the next time i bootup (i believe i need a script for this part).
 

kyoshozx

Senior member
Jun 16, 2000
588
0
0
If you're talking about making a script make a bat file, call it anything you want like logon.bat

Edit the file and use the command

net use s: \\server\share

S: is the drive letter you want to give
\\server\share is the unc for the share.

I believe the error msg will be within the command window and it'll close automatically when the script is done running so it wont display any error msgs to the users.

To make the script run just put it in there profile, right on the logon script portion.