views:

20

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 (to open D:\Test folder),

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

I have added my clsid in MyComputer\Namespace. As a result, a icon has been listed in 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..ie, ('explorer /n, D:\Test') . I am not sure, whether it is correct.. But the same working in XP and Server2008.

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

(Note: I have already post this in Windows tag.)

Thanks in Advance for your reply.