Tech Support > Microsoft Windows > Development Resources > Use Shell Extension / Namespaces to open a file
Use Shell Extension / Namespaces to open a file
Posted by Jake on August 10th, 2007


I have successfully created a new NameSpace for use in the "My
Computer" Icon. The problem, is that when that new icon is double-
clicked, nothing happens. The icon just turns transparent. What I
would like to have happen is that when you double-click the icon, a
specific folder will open up. For simplicity let's say that I want "C:
\PROGRAM FILES" to open.


Am I even on the right track?


Posted by Jake on August 10th, 2007


On Aug 10, 9:14 am, Jake <jacob.syl...@gmail.com> wrote:
SOLVED MY OWN PROBLEM

Just in case anyone was curious, here is the Reg File with the working
code:

<code>

REGEDIT4

[HKEY_CLASSES_ROOT\CLSID\{FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFF99}]
@="PTIRI-FP01 (File Server)"

[HKEY_CLASSES_ROOT\CLSID\{FFFFFFFF-FFFF-FFFF-FFFF-
FFFFFFFFFF99}\DefaultIcon]
@="%SystemRoot%\\system32\\SHELL32.dll,9"

[HKEY_CLASSES_ROOT\CLSID\{FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFF99}\shell]
@="none"

[HKEY_CLASSES_ROOT\CLSID\{FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFF99}\shell
\open]
@="Browse File Server"

[HKEY_CLASSES_ROOT\CLSID\{FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFF99}\shell
\open\command]
@="explorer.exe \"PATH TO FILE GOES HERE\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Explorer
\MyComputer\NameSpace\{FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFF99}]

</code>



Similar Posts