Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Adding network places to My Network Places

109 views
Skip to first unread message

Frank Hofmann

unread,
Oct 4, 2003, 5:29:26 PM10/4/03
to
Hi,

I'm trying to automatically add some LAN network places
to "My Network Places" of my W2K and WXP workstations.

I have searched through several documentations, but didn't
get a hint, how to do this. WSH obviously doesn't expose
an interface to do this.

The only think I have found, was a rundll32 command to
open the "A Network Place" wizard, but this is not what I
want.

Has any one a solution to this?

Thanks.

Frank Hofmann

Marty List

unread,
Oct 5, 2003, 5:14:07 PM10/5/03
to

"Frank Hofmann" <fhof...@bmssys.de> wrote in message
news:0f0c01c38abe$96631100$a001...@phx.gbl...


I don't know of a supported, documented function to add these, but they are
just shell folders under
"%USERPROFILE%\NetHood\". You can create your own using a combination of
Desktop.ini and a .LNK shortcut.

The contents of desktop.ini tell Explorer to display different contents, so
the real folder contents are hidden from you. You need to poke around using
a command prompt:

C:\>Dir "%USERPROFILE%\NetHood\"
Volume in drive C has no label.
Volume Serial Number is F021-FA97

Directory of C:\Documents and Settings\Marty.OPTIMUMX\NetHood

09/17/2003 05:51 PM <DIR> .
09/17/2003 05:51 PM <DIR> ..
01/28/2003 06:35 PM <DIR> c$ on Starone
03/19/2003 08:47 AM <DIR> ftp.microsoft.com
09/17/2003 05:51 PM <DIR> ftp.symantec.com
05/04/2003 09:47 PM <DIR> Marty$ on File Server, MP3 Server
(Tool)
11/22/2002 09:05 PM <DIR> My Web Sites on MSN
0 File(s) 0 bytes
7 Dir(s) 3,143,852,032 bytes free

C:\>Dir "%USERPROFILE%\NetHood\ftp.microsoft.com"
Volume in drive C has no label.
Volume Serial Number is F021-FA97

Directory of C:\Documents and
Settings\Marty.OPTIMUMX\NetHood\ftp.microsoft.com


03/19/2003 08:47 AM <DIR> .
03/19/2003 08:47 AM <DIR> ..
03/19/2003 08:47 AM 75 Desktop.ini
03/19/2003 08:47 AM 190 target.lnk
2 File(s) 265 bytes
2 Dir(s) 3,143,852,032 bytes free

C:\>Type "%USERPROFILE%\NetHood\ftp.microsoft.com\Desktop.ini"
[.ShellClassInfo]
CLSID2={0AFACED1-E828-11D1-9187-B532F1E9575D}
Flags=2

0 new messages