Home All Groups Group Topic Archive Search About

"Add Network Place" from command line ?

Author
7 Sep 2006 8:52 AM
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

Author
7 Sep 2006 9:04 AM
Steve Parry
David Welch wrote:
> 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

--
Steve Parry BA(Hons) MCP

http://www.gwynfryn.co.uk
Author
7 Sep 2006 10:53 AM
Pegasus (MVP)
Show quote Hide quote
"David Welch" <ds***@yahoo.uk.com> wrote in message
news:44ffddc4$0$17404$9b4e6d93@newsspool2.arcor-online.net...
> 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
Author
7 Sep 2006 4:00 PM
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.



David Welch wrote:
Show quoteHide quote
> Ok, I can add newtwork places in WindowsExplorer through the GUI and the Wizard.
> 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 ?