"Add Network Place" from command line ?

  • Thread starter Thread starter David Welch
  • Start date Start date
D

David Welch

Ok, I can add newtwork places in WindowsExplorer through the GUI and the Wizard.

But is there a command line command for adding Network places as well?

Assume I want to add the remote shared folder

\\192.168.1.30\mylogs

as a new entry below "My Network Places" and label it "remotelogs".
How do I this from command line ?

David
 
David said:
Ok, I can add newtwork places in WindowsExplorer through the GUI and the
Wizard.

But is there a command line command for adding Network places as well?

Assume I want to add the remote shared folder

\\192.168.1.30\mylogs

as a new entry below "My Network Places" and label it "remotelogs".
How do I this from command line ?

David

net use \\192.168.1.30\mylogs
 
David Welch said:
Ok, I can add newtwork places in WindowsExplorer through the GUI and the Wizard.

But is there a command line command for adding Network places as well?

Assume I want to add the remote shared folder

\\192.168.1.30\mylogs

as a new entry below "My Network Places" and label it "remotelogs".
How do I this from command line ?

David

If it works from a browser then you can launch it from
a Command Prompt like so:

"c:\Program Files\..\iexplore.exe" \\192.168.1.30\mylogs
 
The easiest way would be to map a network drive to the shared folder -
from a command prompt type

net use x: \\192.168.1.30\mylogs /p

where x: is the drive letter that you want to assign
/p is optional, but will make the drive mapping persistent so that it
doesn't go away when the user logs off/shuts down.
 
Back
Top