bat file edit ability

G

Guest

I've somehow lost my "edit" ability when right clicking on a bat file. Open,
print and run as are there but edit is no where to be found. I believe I can
add though widows explorer > Tools > Folder Options > File Types? but I
don't see BAT as an extension. Any suggestions? Thanks so much!
 
S

Squire

The Edit.com file is located in the Windows\system32 folder.
Check to see if it is there.

You can also use edit at the CMD prompt.
 
W

Wesley Vogel

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

Read the instructions.

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

These are the batfile context menu options:
Open
Edit
Print

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!

Delete the ContextMenuHandlers key if it exists.

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
 
K

Keith Miller MVP

Save the following text between the lines as batedit.reg. Right-click the file and select 'Merge'

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

[HKEY_CLASSES_ROOT\batfile\shell\edit\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,4f,00,\
54,00,45,00,50,00,41,00,44,00,2e,00,45,00,58,00,45,00,20,00,25,00,31,00,00,\
00
 
G

Guest

dThank you so much. Saved txt to notepad and names it with a .reg extension.
--
Lee Lord


Keith Miller MVP said:
Save the following text between the lines as batedit.reg. Right-click the file and select 'Merge'

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

[HKEY_CLASSES_ROOT\batfile\shell\edit\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,4f,00,\
54,00,45,00,50,00,41,00,44,00,2e,00,45,00,58,00,45,00,20,00,25,00,31,00,00,\
00

----------------------------------------------------------

--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]


Lee Lord said:
I've somehow lost my "edit" ability when right clicking on a bat file. Open,
print and run as are there but edit is no where to be found. I believe I can
add though widows explorer > Tools > Folder Options > File Types? but I
don't see BAT as an extension. Any suggestions? Thanks so much!
 

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