12 replies
by ruler
One of the things that you've probably already looked at is the HKEY_CLASSES_ROOT\txtfile\shell\open\command key in the registry. This contains the command to run when you double-click on a .txt file. Check to make sure it says "c:\windows\notepad.exe %1" If the %1 isn't there, that's your problem since MS designed file passing in the same manner as it was handled in DOS batch files; first argument is %1, second is %2, etc.
If this doesn't work, you can create a shortcut to Notepad.exe inyour \windows\SendTo folder so that you can open text files by selecting Send To->Notepad. (This will also allow you to open any file in notepad by doing it this way.)
by gary.l.smith
by tech
Check your file types.
start Windows Explorer and click on view.
click options and then File Type tab.
Double click text document look under actions.
There should be two entries called:
open
Print
possibly others
if there is one called program or open program remove it.
if that dosen't work try
looking for a entry called program and remove it.
by gary.l.smith
by ruler
Well, getting windows to do what it's supposed to is really outside my qualifications. (Obviously outside of the microsoft programmer's abilities as well...)
You didn't mention that it didn't screw up in the same way every time originally; try to associate text files with some other application, reboot, then restore the association to notepad again. To do this, click on View when in explorer, Options. Click on the File Types tab at the top and scroll down until you see Text Document (you can hit T to go to the top of the T's) in the list. Click on it, then on Edit. One of the actions should be in bold-face; double-click on it, make a note of what is displayed in the Application used box. (Probably simply c:\windows\notepad.exe) Change this to another text editor. (Word-pad would be sufficient; you're just trying to get windows to re-init the association with the file in the hopes that it will fix the problem.) If this doesn't fix it, respond here again and I'll e-mail you a clean notepad.exe file; an application may have over-written it with another version.
by ruler
One thing I forgot; you'll need to change the association back to notepad after you reboot. To do this, go into the Text Document action list as before and double-click on the bold-faced action. Change the Application Used box to c:\windows\notepad.exe again and try it.
Also, if this doesn't work, you can create a new action for the file (View or Edit or whatever) and set the application used to notepad. Then select the action and click the Set Default in the action list window for the file type. This would make a completely new action which would launch notepad when selected from the right-click menu or when double-clicked (if you set it to be the default). Good luck.
by gary.l.smith
by neon120
by gary.l.smith
by seanpol
Part of if not all of the problem is in the failed install of Access.
If you have a real registry problem reinstalling Windows will not fix it. If you can't change the file/program association.
Go to "Easydesksoftware.com" and take a browse there.I believe "regmedic" will help you untangle your registry, and provide you with information to keep disaster from rearing it's ugly head again.
Once you get rid of the failed install, it will let go of your text. applications.
I personally use "Configsafe" to keep a current,good registry profile.
Give it a go and kep in touch
Paul
by gary.l.smith
by gary.l.smith
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending