WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

FileMenu

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

The Filemenu Association Disaster

Keywords: Filemenu association exe disaster double-click

There occurs a potentially disasterous problem, where a user can mistakenly associate some program with all their EXE files. Then whenever an EXE file is double-clicked, the associated program runs, instead of the desired exe file. This also happens when you do a Start/Run. The incorrect program loads. This causes great grief.

To fix this problem, we have to run REGEDIT.EXE, which is the registry editor. 'Cept of course when we try to run REGEDIT.EXE, the unwanted associated program runs instead.

Hmmm. So here is what we do. Hopefully the user has not mucked with the Filemenu menus too much. User should use Explorer to find a file (any file), and RIGHT-CLICK on the file to bring up the FileMenu menu.

With just a little luck, the WIL Interactive menu item is there. Click on that, and then on the Execute a function menu that pops up.

In the resulting box type the following line.

      Run("regedit.exe","")

This will bypass the problem and run the Regedit program.

Choose HKEY_CLASSES_ROOT

Under there, find and click on .exe

On the right of the screen the contents should look like


        (Default)           exe_auto_file  

Double-click on the (Default) and a little box should come up where in the data (exe_auto_file) can be edited. Change the exe_auto_file to exefile

Close Regedit. Problem solved.

NB: We have fixed this problem in the currently shipping version by not allowing EXE, COM, BAT, or PIF files to be associated.


Article ID:   W13017
Filename:   FileMenu associate problem with exe files.txt
File Created: 1999:04:15:16:51:12
Last Updated: 1999:04:15:16:51:12