This article was previously published under Q259908
This article has been archived. It is offered "as is" and will no longer be updated.
When you right-click an executable file with a .bat, .exe, or .com file extension, the Open With command is missing.
To open an executable file with a .bat, .exe, or .com file extension for editing, open the file by using the Open command on the File menu in the appropriate editor.
NOTE: When you right-click an MS-DOS Batch file (a file with a .bat file extension), you can click Edit to open the file in Notepad for editing.
This behavior is by design.
In previous versions of Windows, the Open With command is not an available command when you right-click any file, but you can press and hold down SHIFT when you right-click a file to make the Open With dialog box appear.
For additional information about how to show file name extensions, click the following article number to view the article in the Microsoft Knowledge Base:
865219 How to show or hide file name extensions in Windows Explorer