"Add Network Place" from command line ?

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
 
S

Steve Parry

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
 
P

Pegasus \(MVP\)

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
 
S

Seahawk60B

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top