Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista file management

Vista - dreaded spaces in shell special folders

Reply
 
Old 10-04-2008   #1 (permalink)


Vista Home Premium 64 bit SP1
 
 

dreaded spaces in shell special folders

I just found a little tutorial that shows how to open shell special folders from
a command prompt. As in C:\>start shell:Personal
to open the Documents folder. All well and good but naturally there's no example
to demonstrate doing the same with a shell folder that has spaces in the name.

Example: C:\>start shell:Quick Launch gets an error "cannot find shell:Quick"
I tried double quotes, single quotes in as many combinations I could could contrive
but no joy.

Anyone have the easter egg that works?

(btw I notice nobody is taking credit for the great innovation of spaces in file paths.)

edit: btw I have search indexing disabled to it's no good to use the search in the start button. I need to use a command prompt


Last edited by MilesAhead; 10-04-2008 at 06:42 PM.. Reason: more info
My System SpecsSystem Spec
Old 10-04-2008   #2 (permalink)
Pavel A.


 
 

Re: dreaded spaces in shell special folders

MilesAhead wrote:
Quote:

> I just found a little tutorial that shows how to open shell special
> folders from
> a command prompt. As in C:\>start shell:Personal
> to open the Documents folder. All well and good but naturally there's
> no example
> to demonstrate doing the same with a shell folder that has spaces in
> the name.
>
> Example: C:\>start shell:Quick Launch gets an error "cannot find
> shell:Quick"
> I tried double quotes, single quotes in as many combinations I could
> could contrive
> but no joy.
>
> Anyone have the easter egg that works?
>
> (btw I notice nobody is taking credit for the great innovation of
> spaces in file paths.)
>
> edit: btw I have search indexing disabled to it's no good to use the
> search in the start button. I need to use a command prompt
Try: start "junk" "shell:my music"

List of valid shell folder names is in registry;
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders

The "quick launch" is not among them, so it won't work anyway.

Regards,
--PA
My System SpecsSystem Spec
Old 10-05-2008   #3 (permalink)


Vista Home Premium 64 bit SP1
 
 

Re: dreaded spaces in shell special folders

C:>explorer "shell:quick launch" does the trick. I'd still like to get my hands on the guy
who gave the OK to spaces in file paths. It's the biggest PITA in Windows. Some
APIs you have to double quote if there's a space, some you don't. Reduces everything to trial and error when capitalization works just as well for setting off words in the filename. Those spaces are driving me mad!!!

My System SpecsSystem Spec
Old 10-06-2008   #4 (permalink)
Ramesh Srinivasan, MS-MVP


 
 

Re: dreaded spaces in shell special folders

And here:

HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \
explorer \ FolderDescriptions

http://www.winhelponline.com/blog/sh...ecial-folders/
(with due credits to MS-MVP Keith Miller.)

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
The Winhelponline Blog http://www.winhelponline.com/blog


"Pavel A." <pavel_a@xxxxxx> wrote in message
news:u56sxZnJJHA.3976@xxxxxx
Quote:

> MilesAhead wrote:
Quote:

>> I just found a little tutorial that shows how to open shell special
>> folders from
>> a command prompt. As in C:\>start shell:Personal
>> to open the Documents folder. All well and good but naturally there's
>> no example
>> to demonstrate doing the same with a shell folder that has spaces in
>> the name.
>>
>> Example: C:\>start shell:Quick Launch gets an error "cannot find
>> shell:Quick"
>> I tried double quotes, single quotes in as many combinations I could
>> could contrive
>> but no joy.
>>
>> Anyone have the easter egg that works?
>>
>> (btw I notice nobody is taking credit for the great innovation of
>> spaces in file paths.)
>>
>> edit: btw I have search indexing disabled to it's no good to use the
>> search in the start button. I need to use a command prompt
>
> Try: start "junk" "shell:my music"
>
> List of valid shell folder names is in registry;
> HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
>
> The "quick launch" is not among them, so it won't work anyway.
>
> Regards,
> --PA

My System SpecsSystem Spec
Old 10-06-2008   #5 (permalink)


Vista Home Premium 64 bit SP1
 
 

Re: dreaded spaces in shell special folders

That's how I got into this thing with one of those blogs that demonstrates opening a special folder from the command line. Seems they all neglect to demonstrate the case with the space. Always in Windows now you have to do this when applicable or the info is nearly useless. The reader is left to waste several hours when the blogger
supposedly already knows the answer. Also not everyone puts up with Windows search. So only demonstrating from the search line is half baked. Running locate32
manually saves me from Windows Indexing running my HD endlessly.
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Windows Vista-Special Shell personal folders are normal yellow Vista file management
gmail & special folders Vista mail
can't delete folders with only spaces as name Vista General
Using invoke-expression and folders containing spaces PowerShell
Using Paths with Special Characters and/or Spaces PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46