Help! My .exe files all converted to Wordpad

M

Matt

Hi there,

I opened an .exe file in Wordpad on accident and now all
of my .exe files have converted to Wordpad files,
including a dozen or so programs that are supposed to kick
in at startup. Now they just come up as Wordpad docs.

How can I globally change all Wordpad files into .exe
files? In properties, they list as .exe, but they open as
Wordpad and read "This program cannot be run in MS-DOS."

Help!
 
K

Kenny

Reason is that your file associations has changed.

From the command prompt, type:

1. C:\>assoc|more <enter> --- this tells you the file
associations that are in place

2. C:\>assoc .exe= <enter> ---- this removes the
association on .exe files
 
E

Elijah Landreth [MSFT]

This article describes how to change which program is used to open a file
in Windows 2000. For example, you can specify that files with a certain
extension open automatically in a specific program. You can also modify an
existing file type to change its association with a program.

320033 HOW TO: Change File Associations in Windows 2000
http://support.microsoft.com/?id=320033

and the KB article for the aforementioned cmd line method:

SUMMARY
=======
This step-by-step article describes how to use the assoc command to display
and modify file name extension associations on a Microsoft Windows
2000-based computer.
You can view or edit file name extension associations by using the assoc
command or in Windows Explorer when you click Folder Options on the Tools
menu, and then click the File Types tab. The format that is used to
display the file types may differ depending on which method you use. For
example, the "txtfile" file type that is used by the assoc command is
displayed in Windows Explorer as "Text Document".

323526 HOW TO: Use the ASSOC Command to Display and Modify File Name
Extension
http://support.microsoft.com/?id=323526

Elijah Landreth [MSFT]
Microsoft Server Setup Team

Search our Knowledge Base at http://support.microsoft.com/directory
Visit the Windows 2000 Homepage at
http://www.microsoft.com/windows2000/default.asp
See the Windows NT Homepage at http://www.microsoft.com/ntserver/

NOTE: Please reply to the newsgroup and not directly to me. This allows
others to add to and benefit from these threads and also helps to ensure a
more timely response. Thank you!

This posting is provided "AS IS" without warranty either expressed or
implied, including, but not limited to, the implied warranties of
merchantability or fitness for a particular purpose.
The views and opinions expressed in this newsgroup posting are mine and do
not necessarily express or reflect the views and / or opinions of
Microsoft.
or opinions of Microsoft.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top