Batch File
Could someone direct me to a good website on writing batch files, my goal is to use a batch file to map all my clients drives. Or just some advice to get me started would be great.
Thanks
Windows Forum
Could someone direct me to a good website on writing batch files, my goal is to use a batch file to map all my clients drives. Or just some advice to get me started would be great.
Thanks
by wayne r.
To creade a batch file go to a command prompt (C:\) and type . This will open the DOS editor.
To map a drive use the following syntax
net use X:\ \\server\share
where x: = required drive letter
server = Server name
share = Share name
Use a new line for each individual mapping that you require.
If you need the mapping to be permanent use the following:
net use x:\ \\server\share /PERSISTENT:YES
When saving simply name it .bat
If you want this to be done at time of logon the you can either place this in the startup folder on the client or in the user properties login script area on the server.
If you need any more info feel free to mail me.
Good luck.
Wayne.
by scofow
by donalconlon
by scofow
by scofow
This discussion is closed to new replies.
Sort by Trending