Wednesday, 6 June 2012

Map Network drive using Command prompt

Many dos or fox pro software needs a map drive for 
loading database files & if there are lots of computer then question arises how to do it shortly. This post will definitely help you to create batch file for do more work in shortest period 

For creating Map drive we must need Shared folder or drive on network.

Following are the steps to Map network drive.

Go to Run

Type CMD

In command prompt type the following command

net use K: \\192.168.0.1\folder













In this case K: is the drive letter for network drive

192.168.0.1 is the ip address & Folder is the name of shared folder

If there is password then it will ask for password just punt the 
password & hit Enter 


If you want to create batch file just copy the code below


echo off


Title Mounting Map drive


net use K: \\192.168.0.1\folder


exit


Now open your notepad & paste the code & save as mapdrive.bat


You will need to replace Ip adress & Folder path 

That's It 

Now check into My computer you will see the Network drive


0 comments :

Post a Comment