Hello , I would like to mapa network Drive using the command prompt , So Can you tell me What is the command to map a network drive from the command prompt? , Please Help me Thanks in advance
Hello , I would like to mapa network Drive using the command prompt , So Can you tell me What is the command to map a network drive from the command prompt? , Please Help me Thanks in advance
if I remember correctly Net use permits to connect to a network drive:
For example: net use \\ServerName\ShareName
net use serves to connect a network drive. If you explore after using these commant you will see a new drive is existing.
Here is the code in Visual basic Scripts , This script will connect a network drive to drive b, you have to run this script your machine
'End of scriptDim a
Set a= CreateObject ( "Wscript.Network")
a.MapNetworkDrive "b", "\\computer1\shared folder"
WScript.Quit
Net use is a command line utility to manage your network connections.
Here are some indications for its use:
* Will select all the established network connections (net use * ...)
\\Computer\Share [volume] to select the shared handle (net use \\server\web ...)
/d as "delete" will delete connections (net use * /d)
/y as "yes" to validate the changes permanently
/? Will display detailed orders for net use
Bookmarks