[HKEY_CLASSES_ROOT\.]For example, to associate a program (for example, Notepad.exe) to open all files with no extension, use the following registry keys:
[HKEY_CLASSES_ROOT\.]@=""[HKEY_CLASSES_ROOT\.\shell][HKEY_CLASSES_ROOT\.\shell\open][HKEY_CLASSES_ROOT\.\shell\open\command]@="<path to notepad.exe> %1"Here is an alternative method:
[HKEY_CLASSES_ROOT\.]@="NoExtFile"[HKEY_CLASSES_ROOT\NoExtFile][HKEY_CLASSES_ROOT\NoExtFile\shell][HKEY_CLASSES_ROOT\NoExtFile\shell\open][HKEY_CLASSES_ROOT\NoExtFile\shell\open\command]@="<path to notepad.exe> %1"NOTE: "NoExtFile" is not a predefined name, and therefore it can be anything. Adding other shell extensions is similar to adding shell extensions for file names with extensions.
Article ID: 236014 - Last Review: 12/20/2004 22:04:00 - Revision: 1.2