Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I right click on a batch file, the Edit option that opens it in Notepad is not there. How do I get it back?

share|improve this question

That's a context menu issue. Try this.

share|improve this answer

If that file is marked as read-only, then that'd make sense for that to be missing.

Right-click the file and select "Properties". Make sure it's not marked as "Read-Only". I guess that "Archive" property may also cause this, not sure what that really does, actually.

If that's not it, you could always try opening the file directly from Notepad. Start > Run > notepad. Then open that file, edit it, save it. You may have better luck yet, if you make a copy of the file first.

Edit: Here's how to manually add the edit option

  1. Open Windows Explorer, click on Tools > Folder Options
  2. Click on the File Types tab
  3. Click "new" to add a file type, type in "bat" as the extension. Make sure the associated file type list is correctly set.
  4. Select the new association you've made, and add a new action for editing.
share|improve this answer
The file is not read-only. I can open it from within Notepad. But how to I get that "Edit" option back?? – Matt R. Johnson Jun 30 '11 at 20:48
If you cut & paste the contents in to a new batch file stored in your My Docs, can you "edit" that? Is it possible your file extensions aren't actually .bat, but rather .bat.txt or something? – Doc Jun 30 '11 at 20:51
No. Every single batch file, old and new, is missing the Right-Click edit option. And I know they are actual batch files. If I double click them, they run like batch files. – Matt R. Johnson Jun 30 '11 at 20:58
Are you selecting more than one file to edit at one time?… – Moab Jul 1 '11 at 0:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.