I'm wondering if it's possible to add a Network Location via the command prompt? This is not a drive letter mapping mind which can be achieved using the net use command.

link|improve this question
do you mean a connection to a unc path? you could use pushd if you don't want to use net use. pushd \\server\share or if you need to authenticate against the share and don't want to use a drive letter: net use \\server\share <pass> /user:<user> && pushd \\server\share – grub Oct 2 '10 at 14:07
No dice - this is the network locations available from Vista onwards... – noonand Nov 7 '10 at 19:16
feedback

1 Answer

up vote 0 down vote accepted

Here is a script how to achieve this:How Can I Create a Shortcut in My Network Places?

To use them:

  • Copy the code into a Notepad file
  • Click File menu & choose SaveAs
  • Surround the file name in double quotes including the extension (") Example "Network Place Scrript.vbs"
  • In the File Types choose All Files
  • Click the Save button
link|improve this answer
Superb, thanks for that! I had actually come across that article but neglected to circle back to this question. Fair dues to you for doing so. – noonand Mar 8 '11 at 9:19
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.