PC Review


Reply
Thread Tools Rate Thread

CD to special folders in CMD via CLSID

 
 
Michael Lueck
Guest
Posts: n/a
 
      27th Jul 2005
A while back I found a syntax for getting to the special Windows folders via their CLSID at the command line. I've lost that syntax / can't remember what tool allowed me to discover that. Anyone else
happen across that trick and remember it?

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

Remove the upper case letters NOSPAM to contact me directly.
 
Reply With Quote
 
 
 
 
Wesley Vogel
Guest
Posts: n/a
 
      2nd Aug 2005
Don't know any for cmd, but these work from Start | Run

OE makes the links automatically, I can't get rid of them. Ignore. The
wrap may also be funky.

This pasted in Start | Run
file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}
opens My Computer

This pasted in Start | Run
file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}
opens the Control Panel.

This pasted in Start | Run
file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{2227A280-3AEA-1069-A2DE-08002B30309D}
opens Printers and Faxes

This pasted in Start | Run
file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{D20EA4E1-3957-11d2-A40B-0C5020524152}
opens the Fonts folder

This pasted in Start | Run
file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{D6277990-4C6A-11CF-8D87-00AA0060F5BF}
opens Scheduled Tasks

This pasted in Start | Run
file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}
opens Network Connections

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:(E-Mail Removed),
Michael Lueck <(E-Mail Removed)> hunted and pecked:
> A while back I found a syntax for getting to the special Windows folders
> via their CLSID at the command line. I've lost that syntax / can't
> remember what tool allowed me to discover that. Anyone else happen across
> that trick and remember it?
>
> --
> Michael Lueck
> Lueck Data Systems
> http://www.lueckdatasystems.com/
>
> Remove the upper case letters NOSPAM to contact me directly.


 
Reply With Quote
 
Al Dunbar [MS-MVP]
Guest
Posts: n/a
 
      4th Aug 2005
Thanks for the useful help. But if the CD command cannot deal fully with a
UNC, I doubt it will work on these special folders.

/Al

"Wesley Vogel" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Don't know any for cmd, but these work from Start | Run
>
> OE makes the links automatically, I can't get rid of them. Ignore. The
> wrap may also be funky.
>
> This pasted in Start | Run
> file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}
> opens My Computer
>
> This pasted in Start | Run
>

file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}
> opens the Control Panel.
>
> This pasted in Start | Run
>

file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{2227A280-3AEA-1069-A2DE-08002B30309D}
> opens Printers and Faxes
>
> This pasted in Start | Run
>

file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{D20EA4E1-3957-11d2-A40B-0C5020524152}
> opens the Fonts folder
>
> This pasted in Start | Run
>

file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{D6277990-4C6A-11CF-8D87-00AA0060F5BF}
> opens Scheduled Tasks
>
> This pasted in Start | Run
>

file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}
> opens Network Connections
>
> --
> Hope this helps. Let us know.
>
> Wes
> MS-MVP Windows Shell/User
>
> In news:(E-Mail Removed),
> Michael Lueck <(E-Mail Removed)> hunted and pecked:
> > A while back I found a syntax for getting to the special Windows folders
> > via their CLSID at the command line. I've lost that syntax / can't
> > remember what tool allowed me to discover that. Anyone else happen

across
> > that trick and remember it?
> >
> > --
> > Michael Lueck
> > Lueck Data Systems
> > http://www.lueckdatasystems.com/
> >
> > Remove the upper case letters NOSPAM to contact me directly.

>



 
Reply With Quote
 
Stefan Kanthak
Guest
Posts: n/a
 
      4th Aug 2005
"Al Dunbar [MS-MVP]" <alan-no-drub-(E-Mail Removed)> wrote:

Top posting is nasty!

> Thanks for the useful help. But if the CD command cannot deal fully with a
> UNC, I doubt it will work on these special folders.


Hmmm... what do you mean with "CD cannot deal fully with UNC"?
AFAIK "CD" can't deal with UNC paths at all!
If you want to "cd" into an UNC path then use "PUSHD" instead.

> "Wesley Vogel" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>
> > Don't know any for cmd, but these work from Start | Run
> >
> > OE makes the links automatically, I can't get rid of them. Ignore. The
> > wrap may also be funky.
> >
> > This pasted in Start | Run
> > file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}
> > opens My Computer


All these "shell special folders" are known to .... you guess it: the
shell, i.e. the Explorer only. Use "START" from within CMD.EXE.

Stefan

 
Reply With Quote
 
Marty List
Guest
Posts: n/a
 
      4th Aug 2005

Oh great, a new little troll named Stefan has joined the party and needs to
start correcting everyone to prove himself. I've already setup a custom view to
hide his babble.


 
Reply With Quote
 
Wesley Vogel
Guest
Posts: n/a
 
      4th Aug 2005
Use the PUSHD Command to Access a UNC Path at a Command Prompt in Windows
2000
http://support.microsoft.com/default...b;en-us;317379

Cmd.exe does not support UNC names as the current directory
http://support.microsoft.com/default...b;en-us;156276

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:(E-Mail Removed),
Al Dunbar [MS-MVP] <alan-no-drub-(E-Mail Removed)> hunted and pecked:
> Thanks for the useful help. But if the CD command cannot deal fully with a
> UNC, I doubt it will work on these special folders.
>
> /Al
>
> "Wesley Vogel" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> Don't know any for cmd, but these work from Start | Run
>>
>> OE makes the links automatically, I can't get rid of them. Ignore. The
>> wrap may also be funky.
>>
>> This pasted in Start | Run
>> file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}
>> opens My Computer
>>
>> This pasted in Start | Run
>>

>

file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}
>> opens the Control Panel.
>>
>> This pasted in Start | Run
>>

>

file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{2227A280-3AEA-1069-A2DE-08002B30309D}
>> opens Printers and Faxes
>>
>> This pasted in Start | Run
>>

>

file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{D20EA4E1-3957-11d2-A40B-0C5020524152}
>> opens the Fonts folder
>>
>> This pasted in Start | Run
>>

>

file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{D6277990-4C6A-11CF-8D87-00AA0060F5BF}
>> opens Scheduled Tasks
>>
>> This pasted in Start | Run
>>

>

file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}
>> opens Network Connections
>>
>> --
>> Hope this helps. Let us know.
>>
>> Wes
>> MS-MVP Windows Shell/User
>>
>> In news:(E-Mail Removed),
>> Michael Lueck <(E-Mail Removed)> hunted and pecked:
>>> A while back I found a syntax for getting to the special Windows folders
>>> via their CLSID at the command line. I've lost that syntax / can't
>>> remember what tool allowed me to discover that. Anyone else happen
>>> across that trick and remember it?
>>>
>>> --
>>> Michael Lueck
>>> Lueck Data Systems
>>> http://www.lueckdatasystems.com/
>>>
>>> Remove the upper case letters NOSPAM to contact me directly.


 
Reply With Quote
 
Al Dunbar [MS-MVP]
Guest
Posts: n/a
 
      5th Aug 2005

"Stefan Kanthak" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> "Al Dunbar [MS-MVP]" <alan-no-drub-(E-Mail Removed)> wrote:
>
> Top posting is nasty!


No nastier than your above comment, which is only prevented from being a top
post by the slimmest of margins.

I generally agree, however, there are some NG's I inhabit where top-posting
is commonly done, and done effectively. Since I was replying to a top-posted
reply, I perhaps forgot momentarily which NG I was in. Anyway, I do not
think the result created as large a tear in the space-time continuum as your
comment did.

> > Thanks for the useful help. But if the CD command cannot deal fully with

a
> > UNC, I doubt it will work on these special folders.

>
> Hmmm... what do you mean with "CD cannot deal fully with UNC"?
> AFAIK "CD" can't deal with UNC paths at all!


It seems I misspoke somewhat - thanks for drawing my attention to the
oversight.

What I intended to say was that "CMD is not fully able to deal with a
default directory in UNC format". But it *can*, imho, *deal* with them at
least to the extent that a batch file can be started from an explorer window
opened at a UNC. Sure, it displays an error message, and then sets the
default directory somewhere on the local hard drive (at least that happens
for me). So, I disagree, with your suggestion that it (now meaning CMD)
"can't deal with UNC paths at all". If it couldn't deal at all, I would
expect a more horrible failure, including, at the very least, the batch file
not running at all.

> If you want to "cd" into an UNC path then use "PUSHD" instead.


Yes, a good suggestion. But the default directory is still not in UNC
format.

/Al

> > "Wesley Vogel" <(E-Mail Removed)> wrote in message
> > news:%(E-Mail Removed)...
> >
> > > Don't know any for cmd, but these work from Start | Run
> > >
> > > OE makes the links automatically, I can't get rid of them. Ignore.

The
> > > wrap may also be funky.
> > >
> > > This pasted in Start | Run
> > > file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}
> > > opens My Computer

>
> All these "shell special folders" are known to .... you guess it: the
> shell, i.e. the Explorer only. Use "START" from within CMD.EXE.
>
> Stefan
>



 
Reply With Quote
 
Mark V
Guest
Posts: n/a
 
      5th Aug 2005
In microsoft.public.win2000.cmdprompt.admin Michael Lueck wrote:

> A while back I found a syntax for getting to the special Windows
> folders via their CLSID at the command line. I've lost that
> syntax / can't remember what tool allowed me to discover that.
> Anyone else happen across that trick and remember it?


If by "special folders" you mean Shell Folders such as "My Computer",
then no. These are artifacts of the GUI explorer shell and do not
exist in the file system. If otherwise, say more.
 
Reply With Quote
 
Stefan Kanthak
Guest
Posts: n/a
 
      5th Aug 2005
"Marty List" <(E-Mail Removed)> wrote:

>
> Oh great, a new little troll named Stefan has joined the party and needs to
> start correcting everyone to prove himself. I've already setup a custom view to
> hide his babble.
>
>


What a lovely null quote. You missed the point completely.
And now speak with me:
Die größten Kritiker der Elche waren früher selber welche.

Stefan

 
Reply With Quote
 
Wesley Vogel
Guest
Posts: n/a
 
      6th Aug 2005
The largest critics of the moose were in former times which. ???

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:(E-Mail Removed),
Stefan Kanthak <(E-Mail Removed)> hunted and pecked:
> "Marty List" <(E-Mail Removed)> wrote:
>
>>
>> Oh great, a new little troll named Stefan has joined the party and needs
>> to start correcting everyone to prove himself. I've already setup a
>> custom view to hide his babble.
>>
>>

>
> What a lovely null quote. You missed the point completely.
> And now speak with me:
> Die größten Kritiker der Elche waren früher selber welche.
>
> Stefan


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HKCR\Clsid\clsid value\localserver32-??? =?Utf-8?B?Z2ltTGk=?= Windows XP General 3 6th Dec 2010 12:43 AM
Special Folders Keith Windows XP Configuration 5 10th May 2007 04:05 AM
Where've my 'Special Folders' gone? Night Owl Windows XP New Users 3 13th Aug 2005 04:45 AM
Special Folders Steve C. Orr [MVP, MCSD] Microsoft Dot NET Framework Forms 1 26th Apr 2004 11:34 PM
.pst and special folders Shorty Microsoft Outlook 9 4th Dec 2003 05:34 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:47 AM.