I'd like to have a special folder, visible both on the desktop and in
windows explorer, just like the "My Documents" folder.
It must be under the "Desktop" root, like "My Documents", and has it's sub
directories and files, jut like "My Documents".
No need to appear under "My Computer".
Like "My Documents", it must easily accessible from the path selection of
the common "save as..." popup window.
The only big difference from "My Documents" is the destination path.
I have no needs of special context menus options other than the folders
ones, and the destination folder doesn't have to depend from the windows
current user.
What I have put together till now is the following :
------------------------------------------- start
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000010}]
@="Ripostiglio"
[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000010}\DefaultIcon]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,2
5,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,53,00,48,00,\
45,00,4c,00,4c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,32,00,33,\
00,35,00,00,00
[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000010}\InProcServer
32]
@="%SystemRoot%\\system32\\SHELL32.dll"
"ThreadingModel"="Apartment"
[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000010}\shell]
[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000010}\shell\explor
e]
[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000010}\shell\explor
e\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,2
5,\
00,5c,00,45,00,78,00,70,00,6c,00,6f,00,72,00,65,00,72,00,2e,00,65,00,78,00,\
65,00,20,00,2f,00,65,00,2c,00,2f,00,69,00,64,00,6c,00,69,00,73,00,74,00,2c,\
00,25,00,49,00,2c,00,25,00,4c,00,00,00
[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000010}\shell\explor
e\ddeexec]
@="[ExploreFolder(\"%l\", %I, %S)]"
"NoActivateHandler"=""
[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000010}\shell\explor
e\ddeexec\application]
@="Folders"
[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000010}\shell\explor
e\ddeexec\ifexec]
@="[]"
[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000010}\shell\explor
e\ddeexec\topic]
@="AppProperties"
[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000010}\shell\open]
[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000010}\shell\open\c
ommand]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,2
5,\
00,5c,00,45,00,78,00,70,00,6c,00,6f,00,72,00,65,00,72,00,2e,00,65,00,78,00,\
65,00,20,00,2f,00,69,00,64,00,6c,00,69,00,73,00,74,00,2c,00,25,00,49,00,2c,\
00,25,00,4c,00,00,00
[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000010}\shell\open\d
deexec]
@="[ViewFolder(\"%l\", %I, %S)]"
"NoActivateHandler"=""
[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000010}\shell\open\d
deexec\application]
@="Folders"
[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000010}\shell\open\d
deexec\ifexec]
@="[]"
[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000010}\shell\open\d
deexec\topic]
@="AppProperties"
[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000010}\ShellFolder]
"Attributes"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Deskt
op\NameSpace\{00000000-0000-0000-0000-000000000010}]
@="Ripostiglio"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell
Folders]
"Ripostiglio"=hex(2):46,00,3a,00,5c,00,00,00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User
Shell Folders]
"Ripostiglio"=hex(2):46,00,3a,00,5c,00,00,00
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell
Folders]
"Ripostiglio"=hex(2):46,00,3a,00,5c,00,00,00
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\User
Shell Folders]
"Ripostiglio"=hex(2):46,00,3a,00,5c,00,00,00
------------------------------------------- end
But it does nothing.
If I change the following value
from
[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000010}\ShellFolder]
"Attributes"=dword:00000000
to
[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000010}\ShellFolder]
"Attributes"=dword:f080013d
(F080013D comes from the attributes "My Documents" class id container)
then the folder becomes visible on the desktop but if I click on it, open
it, explore it, etc, I get nowhere. It's not linked anywhere.
I thought the "Shell Folders" and "User Shell Folders" parameters were to
estabilish this link but they don't work.
Any suggestions ?
Ciao for now
Mirko