open up notepad.. If you don't know where notepad is located, go to start, run, and type in notepad. Once you are in the notepad file type in the following exactly as appeared...
echo off
-REM Mapps the "M" drive for the employee
net use M: \\servername\share
echo on
Echo off means that the person who's using the script will not see the server name or any coding behind what is being mapped or done to their computer. -REM is a placeholder where you can put a message for further network admins to see what is going wrong with the script if there ever is a problem. You can do as many -REM's and everything that you ever need to do. I would strongly recommend to use echo off and echo on for security purposes.
If you need more than one thing mapped, here is what the batch file would look like
echo off
-REM Mapps the "M" drive for the employee personal folder
net use M: \\servername\share
-REM Mapps the "D" drive for accounting software "Money"
net use l: \\servername\share
echo on
In order to save the batch file, go to file, save as. Find the location where you want to save the .batch file first. Once that is done, type in the filename for the batch file followed by .bat
so if my filename was to be employee, the complete string under save as would look like employee.bat
If you have any other questions, just ask.