views:

32

answers:

0

hi,

I have change registry settings to list a drive like folder in MyComputer by following the steps in http://www.virtualplastic.net/html/ui_shell.html#attributes

In HKEY_CLASS_ROOT, I have added the following line,

RegWriteStringValue(HKEY_CLASSES_ROOT, 'CLSID{My ID}\Shell\Open\Command', '', 'explorer /n, D:\Test')

I have added some other registry changes also. As a result, a icon has been listed in my MyComputer and clicking on the icon opens D:\Test folder. This seems to be working in XP, Server2008.

But this seems to be not working in Windows7.

I suspect, I need to change the command option.. not sure..

Could any one update me how to fix this issue..

Thanks.

related questions