Error 

Opening files with no extension or unassociated extensions

505 views
Posted October 14, 2006 at 02:10pm in Computers, Programming

For a long time this has not annoyed me, but with the increasing number of files I need to open with no extension or an unassociated extension I needed to figure out a fix. I found an articles that was explaining how to open files with unassociated file types, but like a number of articles I read there were things missing. One of those was making Open as the default action, because if you added their solution it would still show the open with dialog. The second was to rename the openas command so it did not show up as Open in the context menu. Here are the fixes and registry entry to handle all those no extension files.


Windows Registry Editor Version 5.00

; Changes the Context Menu description to "Open With"
[HKEY_CLASSES_ROOT\\Unknown\\shell\\openas]
@="Open With"

; Makes the Open command the default action
[HKEY_CLASSES_ROOT\\Unknown\\shell]
@="open"

; Open Command
[HKEY_CLASSES_ROOT\\Unknown\\shell\\open]

; Specifies Notepad as the application to open with
[HKEY_CLASSES_ROOT\\Unknown\\shell\\open\\command]
@="NOTEPAD.EXE %1"

You can download the registry entry here



Leave a Reply