All exe files do not run

R

Rajeev

Somebody fiddled with my machine (P IV with Windows 2000),
after which any program (exe files, say Winword Neither
thru shortcuts nor thru double clicking on files) i am
running it gives an error message that" This file type is
not associated with any program, go to Control Panel and
File Tpes to set".

If i double click on any file (say Doc file) than it runs
the executable (WinWord).

Rgds

Rajeev
 
M

Mark V

In said:
Somebody fiddled with my machine (P IV with Windows 2000),
after which any program (exe files, say Winword Neither
thru shortcuts nor thru double clicking on files) i am
running it gives an error message that" This file type is
not associated with any program, go to Control Panel and
File Tpes to set".

If i double click on any file (say Doc file) than it runs
the executable (WinWord).

Run these commands (in a cmd prompt window (if working)))

C:\> assoc .exe
..exe=exefile

C:\>ftype exefile
exefile="%1" %*

C:\>set pathext
PATHEXT=.COM;.EXE;.BAT;.CMD; <more here>

as a start to see what may be wrong.
 
M

Mark V

In said:
Somebody fiddled with my machine (P IV with Windows 2000),
after which any program (exe files, say Winword Neither
thru shortcuts nor thru double clicking on files) i am
running it gives an error message that" This file type is
not associated with any program, go to Control Panel and
File Tpes to set".

If i double click on any file (say Doc file) than it runs
the executable (WinWord).

Run these commands (in a cmd prompt window (if working)))

C:\> assoc .exe
..exe=exefile

C:\>ftype exefile
exefile="%1" %*

C:\>set pathext
PATHEXT=.COM;.EXE;.BAT;.CMD; <more here>

as a start to see what may be wrong.
 
D

Dave Patrick

A couple of things to try;

Restore the registry from a recent backup.

or

Explorer|Tools|Folder Options|View and uncheck the box for "Hide extensions
for known file types" then copy regedit.exe as regedit.com Then create these
*.reg files and import;

-------------------------------------------
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.exe]
@="exefile"
"Content Type"="application/x-msdownload"

[HKEY_CLASSES_ROOT\.exe\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"
------------------------------------------------

------------------------------------------------
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\exefile]
@="Application"
"EditFlags"=hex:38,07,00,00

[HKEY_CLASSES_ROOT\exefile\DefaultIcon]
@="%1"

[HKEY_CLASSES_ROOT\exefile\shell]

[HKEY_CLASSES_ROOT\exefile\shell\open]
"EditFlags"=hex:00,00,00,00

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

[HKEY_CLASSES_ROOT\exefile\shell\runas]
"Extended"=""

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

[HKEY_CLASSES_ROOT\exefile\shell\View Dependencies]

[HKEY_CLASSES_ROOT\exefile\shell\View Dependencies\command]
@="G:\\PROGRA~1\\MICROS~3\\Common\\Tools\\DEPENDS.EXE /dde"

[HKEY_CLASSES_ROOT\exefile\shell\View Dependencies\ddeexec]
@="[open(\"%1\")]"

[HKEY_CLASSES_ROOT\exefile\shellex]

[HKEY_CLASSES_ROOT\exefile\shellex\ContextMenuHandlers]

[HKEY_CLASSES_ROOT\exefile\shellex\DropHandler]
@="{86C86720-42A0-1069-A2E8-08002B30309D}"

[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers]

[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers\PifProps]
@="{86F19A00-42A0-1069-A2E9-08002B30309D}"
 
D

Dave Patrick

A couple of things to try;

Restore the registry from a recent backup.

or

Explorer|Tools|Folder Options|View and uncheck the box for "Hide extensions
for known file types" then copy regedit.exe as regedit.com Then create these
*.reg files and import;

-------------------------------------------
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.exe]
@="exefile"
"Content Type"="application/x-msdownload"

[HKEY_CLASSES_ROOT\.exe\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"
------------------------------------------------

------------------------------------------------
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\exefile]
@="Application"
"EditFlags"=hex:38,07,00,00

[HKEY_CLASSES_ROOT\exefile\DefaultIcon]
@="%1"

[HKEY_CLASSES_ROOT\exefile\shell]

[HKEY_CLASSES_ROOT\exefile\shell\open]
"EditFlags"=hex:00,00,00,00

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

[HKEY_CLASSES_ROOT\exefile\shell\runas]
"Extended"=""

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

[HKEY_CLASSES_ROOT\exefile\shell\View Dependencies]

[HKEY_CLASSES_ROOT\exefile\shell\View Dependencies\command]
@="G:\\PROGRA~1\\MICROS~3\\Common\\Tools\\DEPENDS.EXE /dde"

[HKEY_CLASSES_ROOT\exefile\shell\View Dependencies\ddeexec]
@="[open(\"%1\")]"

[HKEY_CLASSES_ROOT\exefile\shellex]

[HKEY_CLASSES_ROOT\exefile\shellex\ContextMenuHandlers]

[HKEY_CLASSES_ROOT\exefile\shellex\DropHandler]
@="{86C86720-42A0-1069-A2E8-08002B30309D}"

[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers]

[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers\PifProps]
@="{86F19A00-42A0-1069-A2E9-08002B30309D}"
 

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