If you want to save time by creating a batch file that when you click on it it will automatically map the drive for you. Or if the map network drive keep disconnecting every time you restart your computer, then you can put the batch file in the start up folder so that it run every log in.
Open Notepad (Start>Run>Type Notepad or Start>Programs>Accessories>Notepad)
Type @echo Create new L: drive mapping (The drive letter could be any letter)
Type @net use L: \\Network path /persistent: yes (The Network path is the path where you want to mapped to)
If you want to map multiple drive just keep repeating step 2 and 3
Type :exit
@pause
Click File and select Save As
Navigate to where you want to save it
Name it and Make sure at the end of the name you add .bat
Click OK
Now navigate to where you save it and click on it
A command prompt should appear
Then Press any key to exit
It should looks something like this:
@echo Create new L: drive mapping
@net use L: \\network path /persistent:yes
@echo Create new K: drive mapping
@net use K: \\network path /persistent:yes
:exit
@pause
No comments:
Post a Comment
was it useful ? or did you got stuck with your computer on a palm tree and your head in an oven? feel free to lemme know..