Bat File Options Missing

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

Guest

Hope someone can help. I am running XP PRO SP2, and for some reason when i
right click on a BAT file, the options to Edit/Open/Run are missing. How can
i fix this.

Thank you in advance for your assistance.

Kevin
 
Windows® XP File Association Fixes
Copyright 2003 - Doug Knox
http://www.dougknox.com/xp/file_assoc.htm

The files listed here are all ZIP files, which contain a REG (Registry)
file. Download the ZIP and open it. Extract the REG file to your hard disk
and double click it. Answer yes to the import prompt. REG files can be
viewed in Notepad. Each of the REG files contains the default settings for
the file extension indicated. For the ZIP file fix, the download is a REG
file, since ZIP's aren't working anyway!

Batch File Association Fix (Restore the default associations for BAT files)

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
What about the reg file fix? What does that come as - a batch or vbs file?
 
As indicated by Wes, it is a .reg file and not a batch or vbs.

"David Candy" <.> wrote in message
What about the reg file fix? What does that come as - a batch or vbs file?
 
<LOL> Good question, David. But yes the .reg fix is a .reg file. So
shouldn't the .exe fix be an .exe?

--

All the Best,
Kelly (MS-MVP)

Troubleshooting Windows XP
http://www.kellys-korner-xp.com



"David Candy" <.> wrote in message
What about the reg file fix? What does that come as - a batch or vbs file?
 
Thanks for the info Wesley. I did try the Batch Association Fix. However
when I right click the options still are not there. I even rebooted after
running the fix. Still no options. Anything else I can try??

Kevin
 
Kevin,

These are the batfile context menu options:
Open
Edit
Print
There is no Run. Open performs that function.

Doug Knox's fix includes the registry entries that are related to the right
click context menu. However, the fix doesn't remove what should not be
there!

Open Registry Editor...
Start | Run | Type: regedit | Click OK |
See if you have this key
HKEY_CLASSES_ROOT\batfile\shellex\ContextMenuHandlers

You should not have that key!

Edit Gone from your Context Menu?
http://www.serverwatch.com/tutorials/article.php/1475871

You should have these keys...
HKEY_CLASSES_ROOT\batfile
HKEY_CLASSES_ROOT\batfile\DefaultIcon
HKEY_CLASSES_ROOT\batfile\shell
HKEY_CLASSES_ROOT\batfile\shell\edit
HKEY_CLASSES_ROOT\batfile\shell\edit\command
HKEY_CLASSES_ROOT\batfile\shell\open
HKEY_CLASSES_ROOT\batfile\shell\open\command
HKEY_CLASSES_ROOT\batfile\shell\print
HKEY_CLASSES_ROOT\batfile\shell\print\command
HKEY_CLASSES_ROOT\batfile\shellex
HKEY_CLASSES_ROOT\batfile\shellex\DropHandler
HKEY_CLASSES_ROOT\batfile\shellex\PropertySheetHandlers
HKEY_CLASSES_ROOT\batfile\shellex\PropertySheetHandlers\PifProps
HKEY_CLASSES_ROOT\batfile\shellex\PropertySheetHandlers\ShimLayer Property
Page

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Wesley,

That is correct. Had the ContextMenuHandlers in the shellex, deleted it and
everything came back as before.

Thanks again for the assistance.

Kevin
 
I manage to find something worth while now and again. ;-)

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
My reg entries were same as suggested, but still I could not see edit on .bat
file right click context menu. then I Downloaded "Context Menu Editor" from
http://www.bartdart.com/ tried deleting some context menu (one by one {delete
one and refresh asnd see if Context repaied?) you dont use. e.g.
acrobat..,Stuffit (depending upon what you have installed) All 3(open Edit
Print) showed up as soon I deleted the "Stuffit". Now It could be limits the
no. of prgrams you can have in context menu. Not sure.
Satish
 

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

Similar Threads


Back
Top