View Full Version : exe files mapped to doc
geoffParker02
02-10-2006, 07:04 PM
Hi,
I have screwed up my windows xp system by accidently mapping an executable file to always open in wordpad. Now all my applications open in word pad, and I can't start anything (wordpad excepted). Can anybody tell me what I need to do to reverse this mapping? I'm guessing there's an entry somewhere in the registry that I need to change, but I have no idea where.
Thanks,
Geoff.
monkey_1
02-10-2006, 07:41 PM
Open a Command prompt Window (Start button-->Run-->cmd) and type:
copy %windir%\regedit.exe %windir%\regedit.com
regedit.com
The registry opens... Go to the key:
[HKEY_CLASSES_ROOT\exefile\shell\open\command]
and in te right pane make sure the value data of (Default) be:
"%1" %* (quotes percent one quotes space percent asterisk)
Close the registry and make a test...
_______
<font color=orange>Mono</font color=orange>
geoffParker02
02-10-2006, 08:13 PM
I just checked that entry, and it's already set as you suggested. Here's an export of the key:
[HKEY_CLASSES_ROOT\exefile\shell\open\command]
@="\"%1\" %*"
Any more suggestions?
monkey_1
02-11-2006, 07:46 AM
And what's on
[HKEY_CLASSES_ROOT\.exe]
_______
<font color=orange>Mono</font color=orange>
geoffParker02
02-11-2006, 01:51 PM
So here's my entry for .exe:
[HKEY_CLASSES_ROOT\.exe]
@="exefile"
"Content Type"="application/x-msdownload"
"ZAMailSafeExt"="zl9"
[HKEY_CLASSES_ROOT\.exe\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"
So following the {098f...} number in the registry, shows that it's a common persistent handler, but has this definition:
[HKEY_CLASSES_ROOT\CLSID\{098f2470-bae0-11cd-b579-08002b30bfeb}]
@="Null persistent handler"
[HKEY_CLASSES_ROOT\CLSID\{098f2470-bae0-11cd-b579-08002b30bfeb}\PersistentAddinsRegistered]
[HKEY_CLASSES_ROOT\CLSID\{098f2470-bae0-11cd-b579-08002b30bfeb}\PersistentAddinsRegistered\{89BCB740-6119-101A-BCB7-00DD010655AF}]
@="{c3278e90-bea7-11cd-b579-08002b30bfeb}"
So I followed the new {c3278...} number and get:
[HKEY_CLASSES_ROOT\CLSID\{c3278e90-bea7-11cd-b579-08002b30bfeb}]
@="Null filter"
[HKEY_CLASSES_ROOT\CLSID\{c3278e90-bea7-11cd-b579-08002b30bfeb}\InprocServer32]
@="query.dll"
"ThreadingModel"="Both"
And that seems to be a dead end. :(
Powered by vBulletin™ Version 4.1.0 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.