On Win7, when I did “net use” to list all network mapped drives. It has one line that the drive was mapped to say \\xxxx\folder1 without a drive letter. I wanted to remove this particular one. I tried “net use /del \\xxxx\folder1” for example it also removed OK from the mapped network drive list. I remapped \\xxxx\folder1 and it worked OK.

List mapped drives from command line We can use below command to see the list of shares mapped as network drives. c:\> net use See also: Delete mapped drives command line Map drive to network share from command line ≡ Menu Windows Commands, Batch files, Command prompt and PowerShell Map a Folder to a Drive Letter for Quick and Easy Access To remove the mapping enter the drive letter and add the /D argument: Using a program that can convert a batch file into an executable, Psubst can be made into a standard .EXE file. You can do this yourself by using a Bat to Exe tool. Create a Mapped Folder with a Third Party Tool.

Apr 17, 2012

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. BATCH FILE FOR MAPPING NETWORK DRIVE In WINDOWS 10 - … Nov 29, 2015

mapping network drives upon startup - Windows 7 Help Forums

Aug 02, 2012