PDA

View Full Version : EXE File Type is Missing


Doc
July 21st 04, 12:12 PM
I was trying to fix a problem and accidentally removed
the file type definition for EXE (and DLL) extensions.
Now, I can't double click on those file types and have
them work.

Can anyone tell me how to restore that file type entry.

F.Y.I., when I was looking for ".EXE" file types int he
first place, I coul dnot find where it was defined. So I
clicked on "New" file type and played with ".EXE" and
that must be how I screwed up the current definition.

Thanks,

- Doc -

Alan Edwards
July 21st 04, 12:22 PM
Make up a file from the lines below. Copy into a file called fix.reg
which should be created in Notepad. Do not retype, copy in case of
errors. The 1st line in the file is the line REGEDIT4
The last line must be blank.
Make sure your mail or news reader does not add any spaces to the end
of a line.
Doubleclick to restore the association.

-----copy below this line fix.reg------------
REGEDIT4

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

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

[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\shellex]

[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHan dlers]

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

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

---- end file above here

There is no default association for DLL files and none is needed.
I see no reason why you should doubleclick a DLL file.

....Alan

--
Alan Edwards, MS MVP W95/98 Systems
http://dts-l.org/index.html

In microsoft.public.windowsme.setup, "Doc"
> wrote:

>I was trying to fix a problem and accidentally removed
>the file type definition for EXE (and DLL) extensions.
>Now, I can't double click on those file types and have
>them work.
>
>Can anyone tell me how to restore that file type entry.
>
>F.Y.I., when I was looking for ".EXE" file types int he
>first place, I coul dnot find where it was defined. So I
>clicked on "New" file type and played with ".EXE" and
>that must be how I screwed up the current definition.
>
>Thanks,
>
>- Doc -

July 21st 04, 01:41 PM
Thanks. I'll be able to try this in a little while.

But just to let you know, the reason I noticed the "DLL"
problem after I accidentally removed the EXE file type is
becasue now, when I double-click on "Add/Remove Programs"
in the Control Panel, instead of opening the expected
software-list window, it tells me it doesn;t know whjat
to do with a "DLL" file and opens the "pick a program to
associate this with" window.

- Doc -

>-----Original Message-----
>Make up a file from the lines below. Copy into a file
called fix.reg
>which should be created in Notepad. Do not retype, copy
in case of
>errors. The 1st line in the file is the line REGEDIT4
>The last line must be blank.
>Make sure your mail or news reader does not add any
spaces to the end
>of a line.
>Doubleclick to restore the association.
>
>-----copy below this line fix.reg------------
>REGEDIT4
>
>[HKEY_CLASSES_ROOT\.exe]
>@="exefile"
>"Content Type"="application/x-msdownload"
>
>[HKEY_CLASSES_ROOT\exefile]
>@="Application"
>"EditFlags"=hex:d8,07,00,00
>
>[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\shellex]
>
>[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHan dlers]
>
>
[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHan dlers\{
86F19A00-42A0-1069-A2E9-08002B30309D}]
>@=""
>
>[HKEY_CLASSES_ROOT\exefile\DefaultIcon]
>@="%1"
>
>---- end file above here
>
>There is no default association for DLL files and none
is needed.
>I see no reason why you should doubleclick a DLL file.
>
>....Alan
>
>--
>Alan Edwards, MS MVP W95/98 Systems
>http://dts-l.org/index.html
>
>In microsoft.public.windowsme.setup, "Doc"
> wrote:
>
>>I was trying to fix a problem and accidentally removed
>>the file type definition for EXE (and DLL) extensions.
>>Now, I can't double click on those file types and have
>>them work.
>>
>>Can anyone tell me how to restore that file type entry.
>>
>>F.Y.I., when I was looking for ".EXE" file types int he
>>first place, I coul dnot find where it was defined. So
I
>>clicked on "New" file type and played with ".EXE" and
>>that must be how I screwed up the current definition.
>>
>>Thanks,
>>
>>- Doc -
>
>.
>

Alan Edwards
July 21st 04, 01:56 PM
No idea why you get that message as double-clicking Add/Remove you are
opening (or trying to open) a .CPL file, namely appwiz.cpl
You should be able to doubleclick it in the System folder or try
either of these from the Start-Run box:

control appwiz.cpl

rundll32 shell32.dll,Control_RunDLL APPWIZ.CPL

Check the association of .CPL (Control Panel Extension) in File Types.
It should be something like this:

C:\WINDOWS\rundll32.exe shell32.dll,Control_RunDLL %1,%*

....Alan

--
Alan Edwards, MS MVP W95/98 Systems
http://dts-l.org/index.html

In microsoft.public.windowsme.setup,
> wrote:

>Thanks. I'll be able to try this in a little while.
>
>But just to let you know, the reason I noticed the "DLL"
>problem after I accidentally removed the EXE file type is
>becasue now, when I double-click on "Add/Remove Programs"
>in the Control Panel, instead of opening the expected
>software-list window, it tells me it doesn;t know whjat
>to do with a "DLL" file and opens the "pick a program to
>associate this with" window.
>
>- Doc -
>
>>-----Original Message-----
>>Make up a file from the lines below. Copy into a file
>called fix.reg
>>which should be created in Notepad. Do not retype, copy
>in case of
>>errors. The 1st line in the file is the line REGEDIT4
>>The last line must be blank.
>>Make sure your mail or news reader does not add any
>spaces to the end
>>of a line.
>>Doubleclick to restore the association.
>>
>>-----copy below this line fix.reg------------
>>REGEDIT4
>>
>>[HKEY_CLASSES_ROOT\.exe]
>>@="exefile"
>>"Content Type"="application/x-msdownload"
>>
>>[HKEY_CLASSES_ROOT\exefile]
>>@="Application"
>>"EditFlags"=hex:d8,07,00,00
>>
>>[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\shellex]
>>
>>[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHan dlers]
>>
>>
>[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHan dlers\{
>86F19A00-42A0-1069-A2E9-08002B30309D}]
>>@=""
>>
>>[HKEY_CLASSES_ROOT\exefile\DefaultIcon]
>>@="%1"
>>
>>---- end file above here
>>
>>There is no default association for DLL files and none
>is needed.
>>I see no reason why you should doubleclick a DLL file.
>>
>>....Alan
>>
>>--
>>Alan Edwards, MS MVP W95/98 Systems
>>http://dts-l.org/index.html
>>
>>In microsoft.public.windowsme.setup, "Doc"
> wrote:
>>
>>>I was trying to fix a problem and accidentally removed
>>>the file type definition for EXE (and DLL) extensions.
>>>Now, I can't double click on those file types and have
>>>them work.
>>>
>>>Can anyone tell me how to restore that file type entry.
>>>
>>>F.Y.I., when I was looking for ".EXE" file types int he
>>>first place, I coul dnot find where it was defined. So
>I
>>>clicked on "New" file type and played with ".EXE" and
>>>that must be how I screwed up the current definition.
>>>
>>>Thanks,
>>>
>>>- Doc -
>>
>>.
>>