Create a batch file named “mapdrive.bat”
Write the following text into its content
1 2 3 4 |
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