Create a folder shortcut in "My Computer"

1

1

I'm trying to add shortcuts to folders in "My Computer". This .reg almost works, I can execute programs like EXPLORER.exe, but I want to open a folder in the same window.

Can someone please point out how?

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000001}]
@="SkyDrive"
"InfoTip"="Folder Shortcuts"

[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000001}\DefaultIcon]
@="C:\\Users\\Carlos\\AppData\\Local\\Microsoft\\SkyDrive\\SkyDrive.exe,0"

[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000001}\Shell]

[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000001}\Shell\Open]
@=""

[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000001}\Shell\Open\Command]
@="C:\\Users\\Carlos\\SkyDrive"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{00000000-0000-0000-0000-000000000001}]
@="SkyDrive"

Carlos Gil

Posted 2012-12-16T20:54:02.593

Reputation: 305

I'm using Windows 8 Pro x64 – Carlos Gil – 2012-12-16T21:47:55.790

Answers

1

An easier (and probably safer) way to do the same thing is to map it as a network drive. Go to My Computer and click "Map network drive" (It may be phrased differently; I do not know which version you have). Choose whichever drive letter you want, and for the location, put \\localhost\Users\Carlos\SkyDrive. Make sure that "Reconnect at logon" is checked. This will allow you to access the same directory as though it were a drive, so it will appear in My Computer just like any other drive.

user130039

Posted 2012-12-16T20:54:02.593

Reputation:

I don't mind it being harder. And mapped drives show their own icon and repeat the disk space graphic from the real hard drive. It's cleaner with the way I asked for. – Carlos Gil – 2012-12-16T21:51:30.433

1You can easily change the icon for a drive, and I am pretty sure that there is a way to remove the usage bar. I just wanted to give another option that you may not have thought of. – None – 2012-12-16T22:05:39.373

Thank you, I'm not trying to be rude. Remove the bars for the mapped ones also removes them for the real ones, for which I like them. I think that once I figure it out it be better for me just to create .reg files. – Carlos Gil – 2012-12-16T23:30:11.787

Somewhere, I saw a way to disable them for just certain drives. I will go look for that. Anyway, if you can figure out how to do it with the registry, feel free. – None – 2012-12-16T23:49:45.727

0

Use this:

explorer /root,E:\Setups

replace E:\Setups with the path of your desired folder

TheTAMAS

Posted 2012-12-16T20:54:02.593

Reputation: 1