Let's see if I got this right Folder CLSID are as follows:
http://www.autoitscript.com/autoit3/docs/appendix/clsid.htm
Administrative Tools "::{D20EA4E1-3957-11d2-A40B-0C5020524153}"
Briefcase "::{85BBD92O-42A0-1O69-A2E4-08002B30309D}"
Control Panel "::{21EC2O2O-3AEA-1O69-A2DD-08002b30309d}"
Fonts "::{D20EA4E1-3957-11d2-A40B-0C5020524152}"
History "::{FF393560-C2A7-11CF-BFF4-444553540000}"
Inbox "::{00020D75-0000-0000-C000-000000000046}"
Microsoft Network "::{00028B00-0000-0000-C000-000000000046}"
My Computer "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
My Documents "::{450D8FBA-AD25-11D0-98A8-0800361B1103}"
My Network Places "::{208D2C60-3AEA-1069-A2D7-08002B30309D}"
Network Computers "::{1f4de370-d627-11d1-ba4f-00a0c91eedba}"
Network Connections "::{7007ACC7-3202-11D1-AAD2-00805FC1270E}"
Printers and Faxes "::{2227A280-3AEA-1069-A2DE-08002B30309D}"
Programs Folder "::{7be9d83c-a729-4d97-b5a7-1b7313c39e0a}"
Recycle Bin "::{645FF040-5081-101B-9F08-00AA002F954E}"
Scanners and Cameras "::{E211B736-43FD-11D1-9EFB-0000F8757FCD}"
Scheduled Tasks "::{D6277990-4C6A-11CF-8D87-00AA0060F5BF}"
Start Menu Folder "::{48e7caab-b918-4e58-a94d-505519c795dc}"
Temporary Internet Files "::{7BD29E00-76C1-11CF-9DD0-00A0C9034933}"
Web Folders "::{BDEADF00-C265-11d0-BCED-00A0C90AB50F}"
Extension CLSID are:
http://msdn.microsoft.com/library/d...shell_adv/namespaceextension/nse_junction.asp
HKEY_LOCAL_MACHINE
Software
Microsoft
Windows
CurrentVersion
Explorer
NetworkNeighborhood
Namespace
{Extension CLSID}
Virtual Folder Name is one of the registry key names in the following
table.
Location Virtual Folder Name
My Computer MyComputer
Desktop Desktop
Control Panel ControlPanel
My Network Places NetworkNeighborhood
Entire Network NetworkNeighborhood\EntireNetwork
Remote Computer RemoteComputer
Remote extensions must be initialized with IRemoteComputer.
Just so I don't get lost:
Explorer.exe
/e,/root,::{208D2C60-3AEA-1069-A2D7-08002B30309D}\EntireNetwork
Were we just trying to display the root Entire Network?
I'm lost again. Anyway the above statement works Explorer.exe
/e,]root,::{Folder CLSID}
Note the lack of white space after the slash-e until the end.
I can not go any further because I have policies set restricting it. I
have to find out where.
I need sleep
| That's the problem for the OP, there's no CLSID for Entire Network,
Microsoft Windows Network, or
| Workgroup -- and CLSIDs are the only things I can get to work using
the '...,objectname' syntax.
|
| I think the problem is similar to trying to use a command line to
open 'Last Week' in the History
| folder. Explorer has no problem with:
|
| explorer.exe C:\Documents and Settings\Keith\Local Settings\History
|
| but balks at:
|
| explorer.exe C:\Documents and Settings\Keith\Local
Settings\History\Last Week
|
| VBScript can get into these places, but until we hear from the OP,
I'm not gonna worry about it
|
| Keith
|
| > only as far as Extension CLSID, as I don't have anything
(objectname)
| >
| > | > | Have you tried it?
| > |
| > | Keith
| > |
| > | > | > Maybe...
| > | > Explorer.exe /e,::{Folder CLSID}\::{Extension
CLSID},objectname
| > | > HKEY_LOCAL_MACHINE
| > | > Software
| > | > Microsoft
| > | > Windows
| > | > CurrentVersion
| > | > Explorer
| > | > Virtual Folder Name
| > | > Namespace
| > | > {Extension CLSID}
| > | >
| > | >
| > | > | > | > Interesting challenge.
| > | >
| > | > Short Answer: I don't think there are CLSIDs for those
folders.
| > What
| > | > is your ultimate goal here? There may be other ways to
accomplish
| > it.
| > | >
| > | > More discussion:
| > | > I'd never seen the syntax you referenced from the MSDN, but it
| > does
| > | > work with CLSIDs, but not folder names. I have seen multiple
| > CLSIDs
| > | > strung together in a path, and that works too.
| > | >
| > | > For example, the following will open the Printers and Faxes
| > folder:
| > | >
| > | > explorer.exe
| > | >
| > |
| >
|
/e,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{2227A280-3AE
| > | A-1069-A2DE-08002B30309D}
| > | >
| > | > as will:
| > | >
| > | > explorer.exe
| > | >
| > |
| >
|
/e,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D},::{2227A280-3AE
| > | A-1069-A2DE-08002B30309D}
| > | >
| > | > As to your particular goal, using the path structure, I was
able
| > to
| > | > get one more level down:
| > | >
| > | > explorer.exe
/e,::{208D2C60-3AEA-1069-A2D7-08002B30309D}\Entire
| > | > Network
| > | >
| > | > will open the 'Entire Network' folder, but:
| > | >
| > | > explorer.exe
/e,::{208D2C60-3AEA-1069-A2D7-08002B30309D}\Entire
| > | > Network\Microsoft Windows Network
| > | >
| > | > throws up a "The path...does not exist or is not a directory"
| > error.
| > | >
| > | > I don't think Windows uses CLSIDs for those folders based on
| > | > examination of shortcuts (.lnk files) with a hex editor. If
you
| > | > examine a shortcut to the Printers and Faxes folder, you will
see
| > | > portions of the CLSIDs for that folder and its parents in the
| > file,
| > | > but none of the display names. If you examine a shortcut to
the
| > | > workgroup, you will see a portion of the CLSID for Network
Places,
| > and
| > | > then the names of the subfolders.
| > | >
| > | > I've run into similar limitations of the explorer command
line --
| > I've
| > | > never found a way to access Shared Folders or any of the user
| > folders
| > | > under 'My Computer'
| > | >
| > | > Keith
| > | >
| > | >
| > | > | > | > > I can cause Explorer to open to "My Network Places" with the
| > command
| > | > > "%systemroot%\explorer.exe
| > | > > /e,::{208D2C60-3AEA-1069-A2D7-08002B30309D}"
| > | > >
| > | > >
| > | > > I would like to open three levels deeper: My Network Places,
| > Entire
| > | > > Network, Microsoft Windows Network, <WORKGROUPNAME>.
| > | > >
| > | > > I cannot find CLSIDs for "Entire Network" or "Microsoft
Windows
| > | > > Network" that will work like the CLSID for "My Network
Places in
| > the
| > | > > previous example. In fact, the string "Entire Network" does
not
| > seem
| > | > > to
| > | > > exist in the registry.
| > | > >
| > | > > According to MSDN, this command can be extended into the
| > namespace
| > | > > with
| > | > > a comma followed by an additional object name like this
| > | > > %SYSTEMROOT%\explorer.exe /e,/root,{Extension CLSID}, "%1"
| > | > > where %1 is an object name.
| > | > > (see
| > | > >
| > |
| >
|
http://msdn.microsoft.com/library/d...shell_adv/namespaceextension/nse_junction.asp)
| > | > >
| > | > > But I can't find the syntax for object name. The command
| > | > > %SYSTEMROOT%\explorer.exe /e,/root,{Extension CLSID},
"Entire
| > | > > Network"
| > | > > does not work.
| > | > >
| > | > > How can construct a command that will navigate down through
the
| > | > > "Network Places" namespace?
| > | > >
| > | >
| > | >
| > |
| >
| >
|