Question
February 15, 2008 at 07:29 PM
dman_1092

Script for mapping drives

by dman_1092 . Updated 18 years, 6 months ago

I am new at all of this so please bear with me. I am looking to use a script to map drives automatically. I thought I could use something like the following .bat file:

net use M: \\servername\share /persistent:y

The problem is, I have placed it in the scripts folder on the server and used that path in the user accounts profile. It doesn’t appear to be working because when I restart the drive isn’t mapped. The only other option I have is to place this .bat file in the startup folder but I don’t want to see it when I login. Could you tell me what I am doing wrong?

This discussion is locked

All Comments