Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Text File does not open with Notepad

31 Jul 2011   #11
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8

Try this: Type assoc /? into an elevated cmd window and read what it says. Maybe you can delete the faulty association.

My System SpecsSystem Spec
31 Jul 2011   #12

Windows 7 32 bits

I installed ultraEdit a long time ago, and it is difficult for me to go back to a restore point. It seems my problem is a bug in windows 7.
My System SpecsSystem Spec
31 Jul 2011   #13

Microsoft Windows 7 Home Premium 64-bit 7600

you could always try sfc/scannow
SFC /SCANNOW Command - System File Checker
My System SpecsSystem Spec

31 Jul 2011   #14

Windows 7 32 bits

I have tried sfc/scannow earlier this morning. My OS files seemed okay after the scan, and it did not do anything to solve my problem with the default program that opens text documents.
My System SpecsSystem Spec
31 Jul 2011   #15

Microsoft Community Contributor Award Recipient

Win 10 Pro x64

Quote   Quote: Originally Posted by afache View Post
I tried the set association in the control panel, but everytime I change the .txt to Notepad it flips back to unknown application. It is not letting me change it.
You can try this restore default file association,

Default File Type Associations - Restore

Scroll down to the txt, download and follow the directions at the top.
My System SpecsSystem Spec
31 Jul 2011   #16

Windows 7 32 bits

Hi Derekimo,

I applied your suggestion for the default file type associations, but I did not see any changes.
My System SpecsSystem Spec
09 May 2012   #17

Windows 7 Ultimate x86

Quote   Quote: Originally Posted by afache View Post
Hi All,
I installed a software called ultraEdit on my windows 7 machine, but then after uninstalling it my text documents no longer use Notepad as the default program to open. I tried changing the default program that text documents open with, but it is not letting me. Could anyone give me some helpful hints on what might be the reason behind this behaivior?

The "always use the selected program to open this kind of file" check box is disabled when trying to do any changes.

The problem was due to ultra edit. After installing ultra edit, when you open it for the first time it shows "File Associations" window, there you might be selected all the check boxes(i.e., default file associations ultra edit opens). Here if you select .txt check box, then by default txt file opens with ultra edit & if at all you uninstall the ultra edit, the default option for the txt files would be ultra edit only, so when ever you open a txt file, it shows windows shell window, to open with..... In order to solve this problem, install the ultra edit once again, this time whenever you open ultra edit for the first time, then uncheck the txt check box & click on "ok", then the problem will be solved. I personally faced the problem & solved this problem
My System SpecsSystem Spec
09 May 2012   #18

Microsoft Windows 7 Home Premium 64-bit 7600

welcome to sevenforums vasistachoudary , thanks for posting a solution for this.
its been a while since afache posted ,presumably he solved his problem, but your post will help anyone else searching with the same issue
My System SpecsSystem Spec
11 Apr 2013   #19

Windows 7 Professional x64

Here is a solution. Reinstall UltraEdit, Go to Advanced/Configuration/File Associations and delete TXT
My System SpecsSystem Spec

 Text File does not open with Notepad

Thread Tools

Similar help and support threads
Thread Forum
Notepad++ Open containing folder and SELECT FILE
What should I add to the following command (in shortcuts.xml) so that Notepad++ would open the containing folder and also select the current file? <Command name="Open containing folder" Ctrl="no" Alt="no" Shift="no" Key="0">explorer $(CURRENT_DIRECTORY)</Command> Thank you.
Changed dmp file to open w Notepad. How to restore original setting?
hello, I am beginning my task to discover why BSOD, mostly after using computer in sleep mode. I read threads how to prepare dump file for upload, however, instructions I read advised: "left click first dump file> hold shift key down & left click after last dump file (blue highlight these...
BSOD Help and Support
text file not opening through notepad
hi friends, there is a big problem with me,i had installed ultraedit in my computer which i uninstalled it after the trial period got over as i didn't wanted to continue more.but after that the text files are not being read by notepad directly.after double clicking,it is showing that the...
Open File - Security Warning, (IE, Notepad, etc.), 7 Home Prem
I am running Windows 7 Home Premium, 64-bit. I have been letting this go for a while, so I don't remember when it started. If I start ANY PROGRAM, including those installed by Windows (IE, Notepad, etc.), I get the .. "Open File - Security Warning" "We can't verify who created this file....
System Security
.vbs file open with to change???
i cannot view my slmgr.vbs because it opens with it right for .vbs to open with notepad.If not,how to change it?:sarc:
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 04:53.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App