Sep 16, 2012 · This video will show you how to map a drive if user credentials will be required. In the video I create a batch script so this can consistently be mapped on multiple computers. Remote IT Support
Oct 05, 2015 How to map a network drive using Command Prompt on Windows Mar 07, 2017 Windows 10 Does Not Reconnect Mapped Network Drives [Fix] Paste the following text inside Notepad and save as a *.cmd file. @echo off :Start … Mapped network drive may fail to reconnect in Windows 10
devicename = the dive letter for the map drive. computername = is the computeer wher the share exists. sharename = is the name of the share. So to create a batch file that will map a drive to different computers that are sharing folders, we'll use the following commands: net use W: \\computer1\MP3 . net use X: \\computer2\Photos
I would use the follow in a batch file: @echo off REM Delete existing Mapped Drives net use * /d Y REM Map New Network Drive net use R: \\bar\foo /persistent:yes net use Z: \\bar\bar echo Drives Mapped. This can then be added to the users logon script path, provided the file is placed in the servers Netlogon folder. EDIT
Oct 14, 2016
We can map a network drive from windows command line using the command net use.Syntax is given below. net use z: \\remotepc\sharename The above command maps the drive letter Z: to the network share \\remotepc\sharename.If the logged in user has authorized access to this network share, the above command completes successfully without asking the user to provide username/password. (Solved) - How to make a BAT file to make Network Drive