Electronics, PCB Design and PCB Layout Daycounter, Inc.
Engineering Services

Custom Firmware, Electronics Design, and PCB Layout

> Lab Book

  Home Company Services Products Partners Clients Site Map Contact Us
                 
 
Warning: include() [function.include]: URL file-access is disabled in the server configuration in /usr/local/apache2/htdocs/daycounter/LabBook/Changing-File-Associations-With-Registry-Editor.phtml on line 82

Warning: include(http://www.daycounter.com/MenuCapabilities.phtml) [function.include]: failed to open stream: no suitable wrapper could be found in /usr/local/apache2/htdocs/daycounter/LabBook/Changing-File-Associations-With-Registry-Editor.phtml on line 82

Warning: include() [function.include]: Failed opening 'http://www.daycounter.com/MenuCapabilities.phtml' for inclusion (include_path='.:/usr/local/php5/lib/php') in /usr/local/apache2/htdocs/daycounter/LabBook/Changing-File-Associations-With-Registry-Editor.phtml on line 82

 

Modifying File Associations With Registry Editor

This describes how to modify file associations with the registry editor.  As an example assume we have a file of type .abc and two different editors of MyEditor1.exe and MyEditor2.exe. 

 

1. Associate the extension with a filename string:

HKEY_CLASSES_ROOT\.abc

Add a default string of "abcfile"

2. Associate 1:

Create the following key:

HKEY_CLASSES_ROOT\abcfile\shell\Open                                    // Note that this key "Open" is the default verb

Add the string: &Open with MyEditor1

Create the following key:

HKEY_CLASSES_ROOT\abcfile\shell\open EVC3\command

Add the string:   DriveLetter:\PathToFile\MyEditor1.exe

3. Associate  2:

HKEY_CLASSES_ROOT\abcfile\shell\Open MyEditor2              

Add the string: &Open with MyEditor2

Create the following key:

HKEY_CLASSES_ROOT\abcfile\shell\open EVC3\command

Add the string:   DriveLetter:\PathToFile\MyEditor2.exe

 

Daycounter specializes in contract electronics design.  Do you need some help on your project?  Contact us to get a quote. 

 
Warning: include() [function.include]: URL file-access is disabled in the server configuration in /usr/local/apache2/htdocs/daycounter/LabBook/Changing-File-Associations-With-Registry-Editor.phtml on line 124

Warning: include(http://www.daycounter.com/MenuFooter.phtml) [function.include]: failed to open stream: no suitable wrapper could be found in /usr/local/apache2/htdocs/daycounter/LabBook/Changing-File-Associations-With-Registry-Editor.phtml on line 124

Warning: include() [function.include]: Failed opening 'http://www.daycounter.com/MenuFooter.phtml' for inclusion (include_path='.:/usr/local/php5/lib/php') in /usr/local/apache2/htdocs/daycounter/LabBook/Changing-File-Associations-With-Registry-Editor.phtml on line 124


Warning: include() [function.include]: URL file-access is disabled in the server configuration in /usr/local/apache2/htdocs/daycounter/LabBook/Changing-File-Associations-With-Registry-Editor.phtml on line 133

Warning: include(http://www.daycounter.com/MenuRight.phtml) [function.include]: failed to open stream: no suitable wrapper could be found in /usr/local/apache2/htdocs/daycounter/LabBook/Changing-File-Associations-With-Registry-Editor.phtml on line 133

Warning: include() [function.include]: Failed opening 'http://www.daycounter.com/MenuRight.phtml' for inclusion (include_path='.:/usr/local/php5/lib/php') in /usr/local/apache2/htdocs/daycounter/LabBook/Changing-File-Associations-With-Registry-Editor.phtml on line 133