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

I'm trying to edit a file FRED.COM in Windows XP by right-clicking it and selecting "Open With...". But no such option appears. Does anyone know why, and what I can do about it?

I've looked at this question here but the circumstances are not quite the same.

share|improve this question
In the future if you reference a specfic file, you need to describe what it is, otherwise there isn't any sense in using the exact filename. It makes your question to specfic to you. – Ramhound Sep 27 '11 at 16:52
up vote 3 down vote accepted

.com files are binary executeables. To be honest they are not intended to be editable. To make changes you would need to get the source code then re-compile the file. There are decompilers out there, but generally they don't provide particularly useful code.

share|improve this answer
Ah! That explains it. It so happens that this particular file is a VMS command procedure currently residing on my PC, and therefore text, but with a file extension .COM as is customary on VMS. – Brian Hooper Sep 27 '11 at 15:48
Well, it certainly makes sense to edit COM, EXE, and DLL files (or, for that matter, any file at all) using a hex editor. – Andreas Rejbrand Sep 27 '11 at 15:50
While you can edit any file in a hex editor, that is still not the intention for binary executeables. – EBGreen Sep 27 '11 at 15:52

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.