1

I am using the following command in a shortcut to open my virtual drive in Windows Explorer. %SystemRoot%\Explorer.exe /e,::{MyExtension CLSID}

The virtual drive uses IShellFolder interface and is a ShellExtension. It has a couple of predefined folders in it. The problem is that I can open the virtual drive in Windows explorer directly using the above statement but I cannot directly open one of its folders.

This link explains how to open a IShellFolder http://msdn.microsoft.com/en-us/library/bb776817(VS.85).aspx#

but I am not sure how to use the objectname param %SystemRoot%\Explorer.exe /e,::{MyExtension CLSID},objectname

4

1 に答える 1

2

Gmailドライブシェル拡張機能を使用してインストールし、名前空間内にフォルダーを作成しました。次に、上記のメソッド(/ E、:: {CLSID})を使用してショートカットを作成し、最後に「、foldername」を追加します。完璧に機能しました。IPersistFolder::Initializeの実装
を確認する必要があると思います。

于 2009-03-29T19:50:05.190 に答える