Solved

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

Posted on 2008-06-10
4
959 Views
Last Modified: 2008-06-18
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.
0
Comment
Question by:First Last
  • 3
4 Comments
 
LVL 1

Author Comment

by:First Last
ID: 21751598
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.
0
 
LVL 4

Expert Comment

by:deltex141
ID: 21751615
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)..
0
 
LVL 1

Author Comment

by:First Last
ID: 21751727
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.
0
 
LVL 1

Accepted Solution

by:
First Last earned 0 total points
ID: 21753068
I was able to solve this one myself by changing and reassociating the file type.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you build your web application in Visual Studio you'll get at least a few binaries, or .DLL, files in your bin folder. However, there is more compiling to be done. Normally this would happen when an ASP.NET resource within the web site is request…
Are you unable to synchronize your OST (Offline Storage Table) file with Microsoft Exchange Server? Is your OST file exceeding 2 GB size limit? In Microsoft Outlook 2002 and earlier versions, there is a 2 GB size limit for the OST file. If the file …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question