Create a batch file named “mapdrive.bat”
Write the following text into its content
REM Map network Drive
net use j: \\server1\john_music
net use p: \\server2\pdfs
pause
Explaination:
Line 1 is to create a comment
Line 2 (similar with line 3) is to map a network folder \\server1\john_music to drive J:>
Line 4 is to pause the DOS window so it won’t close automatically
Leave a Reply