If I open in UltraEdit v17.30.0.1012
Advanced - Configuration - File Associations, enter for
File types/extensions for example
.tmp and for
Description the string
Temporary file and press button
Add, UltraEdit writes to registry:
[HKEY_CLASSES_ROOT\.tmp]
@="UltraEdit.tmp"
[HKEY_CLASSES_ROOT\UltraEdit.tmp]
@="Temporary file"
[HKEY_CLASSES_ROOT\UltraEdit.tmp\shell]
[HKEY_CLASSES_ROOT\UltraEdit.tmp\shell\open]
[HKEY_CLASSES_ROOT\UltraEdit.tmp\shell\open\command]
@="\"C:\\Program Files\\IDM Computer Solutions\\UltraEdit\\uedit32.exe\" \"%1\""
[HKEY_CLASSES_ROOT\UltraEdit.tmp\shell\print]
[HKEY_CLASSES_ROOT\UltraEdit.tmp\shell\print\command]
@="\"C:\\Program Files\\IDM Computer Solutions\\UltraEdit\\uedit32.exe\" /p \"%1\""
Although no default icon is registered, Windows Explorer of my 32-bit Windows XP displays *.tmp files now with an icon showing a rectangular white paper with a fold on top right corner and with UE symbol in center of the paper. Interesting is that exactly this icon is not present in uedit32.exe. There is just a similar icon, but not exactly the same. I don't know from where Windows Explorer loads this icon, perhaps from the icon cache containing an older version of the similar icon in uedit32.exe.
Next I opened the
Folder Options in Windows XP Control Panel (also available in menu Tools of Windows Explorer on Windows XP), clicked on tab
File Types, scrolled down in the list to
TMP Temporary file, clicked on button
Advanced, clicked on button
Change Symbol, selected
uedit32.exe and selected the second icon with the new look of the UE document symbol. Windows Explorer added to registry:
[HKEY_CLASSES_ROOT\UltraEdit.tmp\DefaultIcon]
@="C:\\Program Files\\IDM Computer Solutions\\UltraEdit\\uedit32.exe,1"
I don't have a computer running with Windows 7 x86 or x64. So I can't post the detailed steps on how to change the symbol for a file type on Windows 7. On Windows Vista and Windows 7 the File Types tab does not exist anymore in the Folder Options according to what I have read. The article
Change a File Type’s Icon in Windows 7 describes how to change the icon of a file type with a little utility. Here is a second article
Edit File Types in Windows Vista & Windows 7. I found also that the File Types tab still exist on Windows 7 and Vista, but not under Folder Options. You have to click in Windows start menu or in Control Panel on
Indexing Options and there on button
Advanced, see on Microsoft article
Improve Windows searches using the index: frequently asked questions the answer on frequently asked question:
I want to search for a file type that is not currently being indexed. How do I add a file type to the index? This question is not like your question, but the answer explains the steps to open the File Types tab in Windows 7.
The method which definitely works on Windows 7 / Vista when making everything right is doing it manually using
Regedit.exe started as administrator. You have to search in
HKEY_CLASSES_ROOT for
uedit32.exe. On every file type found, create a key named
DefaultIcon and define the default string value with full name of uedit32.exe, a comma and the icon group index (0 for UltraEdit program icon, 1 for UltraEdit document icon, 2 for alternate UltraEdit document icon).