My .exe files are being opened in notepad...

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

somehow they are now set to open in notepad, and i can't find out how to
change the .exe files to open as executables. help would be greatly
appreciated...
 
i have managed to run the programs again by setting them to open with
runxx... but now icons have disappeared... not as bad, but still annoying...
aby ideas on how to solve this?
 
You might try comparing the Registry setting with
someone else's. It's likely that there should be
something like:

HKEY_CLASSES_ROOT\exefile\DefaultIcon

with a default value of: %1

( If you look under HKEY_CLASSES_ROOT you'll
see keys for all registered file extensions. Under
the .exe key will be a default value that points
to another HKEY_CLASSES_ROOT subkey that's
named for the name being used for that file type.
So, for instance, HKEY_CLASSES_ROOT\.txt probably
leadss to HKEY_CLASSES_ROOT\txtfile, under which
will be keys telling Explorer how to handle that
particular file type. The default program is under
HKEY_CLASSES_ROOT\txtfile\Shell\Open\Command.
There's often a DefaultIcon key. Etc. )

I would hope that Vista is not so bad that a
messed up EXE association requires a System Restore.
 
shinryuu said:
somehow they are now set to open in notepad, and i can't find out how
to change the .exe files to open as executables. help would be greatly
appreciated...


Create a new blank text document.
Copy and paste the following into it :


Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\exefile\shell\open\command]
@="\"%1\" %*"
"IsolatedCommand"="\"%1\" %*"


Save the text document and change extension from .TXT to .REG
Right-click new REG document and select ' Merge '.

Good luck!
..
 

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

Back
Top