I found to today a small utility to scan and visualize my harddisc (http://www.steffengerlach.de/freeware/). in the installation folder i found the following code to add a program to the registry:
save the content in a *.reg file to execute it:
ADD:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\Scan_Content]
@="Scan Content"
[HKEY_CLASSES_ROOT\Directory\shell\Scan_Content\command]
@="C:\\Program Files\\Scanner\\Scanner.exe \"%1\""
[HKEY_CLASSES_ROOT\Drive\shell\Scan_Content]
@="Scan Content"
[HKEY_CLASSES_ROOT\Drive\shell\Scan_Content\command]
@="C:\\Program Files\\Scanner\\Scanner.exe \"%1\""
REMOVE:
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\Directory\shell\Scan_Content]
[-HKEY_CLASSES_ROOT\Directory\shell\Scan_Content\command]
[-HKEY_CLASSES_ROOT\Drive\shell\Scan_Content]
[-HKEY_CLASSES_ROOT\Drive\shell\Scan_Content\command]
Wednesday, December 22, 2010
How To: Add Context Menu Registry
Subscribe to:
Post Comments (Atom)
Shared Cache - .Net Caching made easy
All information about Shared Cache is available here: http://www.sharedcache.com/. Its free and easy to use, we provide all sources at codeplex.
No comments:
Post a Comment