not mapping a network drive
Then I wonder what you want to add to where; if not as mapped drive? May can you explain it more detailed, please?
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
How to add a network location in Windows by CMD command (not mapping a network drive)
not mapping a network drive
Then I wonder what you want to add to where; if not as mapped drive? May can you explain it more detailed, please?
Hello,
You may create a shortcut manually using the mklink
command or by using a script. Here is an example using mklink
:
mklink /d "C:\Path\To\Your\Shortcut" "\\ServerName\ShareName"
Replace "C:\Path\To\Your\Shortcut" with the desired path for your shortcut, and "\ServerName\ShareName" with the actual UNC path of your network share.
This command creates a symbolic link to the network share without assigning a drive letter. However, this approach requires administrative privileges.
If creating a symbolic link isn't suitable for your needs, and you simply want to access the network share without a mapped drive letter, you may need to use File Explorer to navigate directly to the UNC path of the network share.
I hope this helps! Please let me know if you need any further assistance.
Kind Regards,
Karlie Weng
If the Answer is helpful, please click "Accept Answer" and upvote it.