Link to home
Create AccountLog in
Avatar of First Last
First LastFlag for United States of America

asked on

Attempting to open .txt files results in "not a valid win32 application"

When I attempt to open any .txt files in any application (Word, Excel, even Notepad) it returns an error stating that the .txt file in not a valid win32 applicaiton.  This is not an assoication problem, .txt files are correctly associated with notepad.
Avatar of First Last
First Last
Flag of United States of America image

ASKER

Should also mention that I can open the files once an application is open (file, open or dragging),  just not by double-clicking the file I wish to see.
Avatar of deltex141
deltex141

Firstly, you should check your NOTPAD.EXE if it's working.. (From EXPLORER, select it and run.. check if it is working properly..)
After that, try this:

In Explorer, select your TXT file and Hold LEFT SHIFT button then click RIGHT MOUSE button on it.. You'll see an extra option there as "Open as..." Click on it and you'll see the registered programs list.. Choose NOTEPAD if available; otherwise, click on BROWSE and find your NOTEPAD.EXE (under WINDOWS directory)..
deltex141:  Notepad works fine as do all the other applications I could potentially use to view .txt files.  Opening the file using the context menu results in the same error.
ASKER CERTIFIED SOLUTION
Avatar of First Last
First Last
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer