ashar5 0 Newbie Poster

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

I have added a shell command in registry under HKEY_CLASS_ROOT using innoscript (inno setup) to open the '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.