The Problem:
- The Properties dialogue box for text files has lost its accustomed
Change
button - From the list of extensions in
Control Panel\Programs\Default Programs\Set Associations
, the .txt file extension is missing - In the
Open with
dialogue box that can be accessed by right-clicking a text file, and then selectingOpen with
, and thenChoose default program...
, the option toAlways use the selected program to open this kind of file
is unchecked and grayed out - The .txt file extension is currently associated with Explorer, which, for the above reasons, I do not know how to change.
The Cause:
This all came about because I accidentally set the .txt file extension to open with Explorer. Clicking on a .txt file now causes Explorer to attempt to open it several times a second, until Explorer crashes, or I restart the system.
Subsequent failed attempts at solving the above mess include:
- Trying to set a new file association for the .txt extension, using
Assox1000
- Trying to set the
Open with
dialog box option toAlways use the selected program to open this kind of file
as unchecked by default, by applying (unsuccessfully) the registry edit that apparently should accompany pasting MyOpenAs.dll into System 32 - Using
unassoc_1_4
to unassociate the .txt extension from everything - Using
filetypesman-64
to delete the .txt extension altogether - Running sfc /scannow to fix missing Windows components
- Using CCleaner to fix the registry
- Applying a backup of an earlier registry condition
I'm feeling very tired and very foolish, right now, and would hugely appreciate any genius suggestions!
Answer
From here:
I learned this:
Found it in the Registry. Only proceed if you are insanely frustrated
with this issue.
Look at the value in the following key in the registry.
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts.jar\UserChoice
Does it look something like Windows\explorer.exe? Not good.
Delete the following key in the registry.
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts.jar\UserChoice
Now, you can go to an Explorer window and choose a new default program
for .jar files.
I applied this advice to the .txt extension, and it worked.
Unfortunately, the New Text File option in the Explorer context menu was garbled. I managed to restore that from the following sage words (from http://articlebin.michaelmilette.com/new-text-document-context-menu-missing-after-associating-notepad-with-txt-files/):
you can re-create [a missing context menu item for New Text Document] by
copying and pasting the following as text file into Notepad or
Notepad++ and saving it as fix-new-text-document.reg. Last, double
click on the file to import it into the registry. Windows will likely
ask you to confirm that you really want to do it.Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.txt]
"PerceivedType"="text"
@="txtfile"
"Content Type"="text/plain"
No comments:
Post a Comment