Is there a command that can be used from the command line to output a list of the mapped network drives on the local system and their location on the network to a txt file? This will only be used on Windows-based systems running XP.
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
Although I tested this on Windows 7, Microsoft says |
|||||
|
|
This works dir \ComputerName\sharedDirectory On windows 7 the directory must must be shared for "everyone" Right click the drive letter >> share with >> specific people select "everyone" form the dropdown list and add it. Then the dir command should work. |
|||
|
|
Save the following as a .vbs file and run it. It'll create a MappedDrives.txt in the folder the vbs file is run from. You can replace the strComptuer with another computer's name and get the list off of a remote computer as well.
|
||||
|


