How do I create a custom folder like "My Documents" ?

T

Tom Brown

Mirko said:
Hi everybody !
In Windows XP, how do I create a system folder that behaves like "My
Documents" but is linked to a destination folder other than "C:\Documents
and settings\..blabla.." ?
I have tried this
http://www.jadwigo.nl/tools/customsystemfolder/csysfolder4.html
but, as the author says, it's not enough.
Can anyone help me ?
Thank you very much
Mirko


Hi
Can you explain what functionality you want from this folder.
Do you want it on the desktop? in the start menu? with a special context menu?
How do you want it to differ from a normal shortcut or folder shortcut?
 
M

Mirko

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
 
R

relic

Heinz said:
Hi, could you please stop that ecessive X-Post and terrible
Fullquote!! Especially microsoft.public.de.german.windowsxp.registry

Heinz


Is stupidity a speciality of yours?

By trimming the distribution to where you /think/ the OP is, he never got your
message. He isn't in the newsgroup you left.
 
M

Mirko

Like now.
Got it ?
Double cheers.
Mirko

Mirko said:
I've got the message, I don't cross post as a hobby, I do it to increase the
chances to get useful replies.
When I cross post, I always check all the thread I create in all the
newsgroups where I create them.
I leave the full quote because when someone replies in only in some or only
one of the xposted newsgroups, the thread goes lost.
cheers
Mirko

relic said:
Is stupidity a speciality of yours?

By trimming the distribution to where you /think/ the OP is, he never
got
 
T

Tom Brown

Mirko said:
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.


Mirko,
I don't think this is possible without writing your own Shell Extension
(InprocServer32)
Have you thought about using an NTFS junction on the desktop?
 
M

Martin

Mirko said:
Hi everybody !
In Windows XP, how do I create a system folder that behaves like "My
Documents" but is linked to a destination folder other than "C:\Documents
and settings\..blabla.." ?
I have tried this
http://www.jadwigo.nl/tools/customsystemfolder/csysfolder4.html
but, as the author says, it's not enough.
Can anyone help me ?
Thank you very much
Mirko

Can't you just customise the present My Documents folder?
You can rename it and change it's target folder to whatever you desire.

Right-click My Documents and select Properties.
Here you can change it's default settings.

Martin.
 
D

David Candy

That's a top thread isn't it.

You made one and have it as a reg file if memory serves. Google doesn't have attachments so perhaps you could post.
 
D

David Candy

The answer is in the thread you were refered to. That inf script is missing a ShellFolder\Attribute value. View message 16 in the thread.
 
M

Mirko

It's not enough, I need two folders because they are on different hard
disks.
But thank you for the information.
Mirko
 
M

Martin

Well try this.

Open Windows Explorer and navigate to your chosen folder.
Left click hold and drag it to the Start button - release it when the Start
Menu appears.
You should now have a cascading folder shortcut on the top of the Start
Menu.
It shows up in Windows Explorer as a Folder but is actually a type of
shortcut i think - hopefully the type of shortcut you wanted to create.
Now right click the Start button and Explore All Users.
Locate the newly created shortcut in
\Documents and Settings\<USERNAME\Start Menu
Cut (or Copy) the new shortcut to the Desktop or wherever it's required.

Does this do the job?

Martin.
 
V

Vibora

nella Mirko <[email protected]> ha scritto:

La piantiamo o no di inviare xpost ad un ng .it.? Qui si parla italiano e
non potrai avere nessun aiuto per i tuoi problemi.
Oltre ad essere una scamorza sei anche un maleducato
 
M

Martin

And another little find....

TweakUI.
Common Dialogs>Places Bar.
Custom places bar.
Here you can select/de-select the special icons that appear on the left hand
of (some) Open/Save dialog boxes.
You can also type a path to a folder into any of these boxes too.

Of course not all software uses the version of the dialog boxes that show
the Places Bar - i have loads of applications that still use the older
dialog boxes and have no Places Bar.

Martin.
 
M

Mirko

This creates a shortcut to the folder, which is ok to quickly access to it
with a double click but it's not the same as having a special folder under
the "Desktop" root in Windows Explorer.
For example, after you paste the shortcut to the Desktop, you cannot see it
anyway under the Desktop root in the folders window of the Explorer.
I keep trying and experimenting with the registry. If I get to something
interesting I will tell you.
Mirko
 
M

Mirko

Ricapitolando: prima mi insulti e poi mi dai del maleducato ?
Saro' anche maleducato ma tu sei un coglione. Se non vuoi leggere i
messaggi spegni il computer e vai a letto, non credo che mancherai a molti.
Buona notte coglione
 
V

Vibora

nella Mirko <[email protected]> ha scritto:

IT' REALLY TIME TO STOP THIS UNNECESSARY XPOSTING OF THIS THREAD
EXPECIALLY ON AN .IT. (ITALIAN) NG.
This practice is unpolite and rarely useful, but being the case,
netiquette oblige to declare it in subject and to clearly set a follow up
on a single ng. Even more is particularly odd xposting in groups you never
visit and of which you ignore rules and manifest.
If you googlesearch for "netiquette" you'll discover also the word
"quoting" that's avoiding annoying readers with unnecessary lines of text
which can easily be recovered from older messages.
I'm astonished that so many people, even MVP, simply press reply button
without thinking twice.

I'll send this post to any other reply on my ng.
Even if you are a newbie guess wich one
 
M

Martin

Doesn't it appear also in the folder tree under the Recycle Bin - right at
the bottom?

Martin.
 
D

David Candy

The other posts have answered you question. Why are you going on about irrelevent matters.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top