Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am using Windows 7 64-bit. I could not find a command that enables me to write a text file in the command prompt. Is there a command for this on Windows 7 x64? I tried edit but it is not supported by Windows 7 x64. Is there another command to do this?

share|improve this question
Why would you need a console text editor exactly? Is this something related to SQL query composition? –  Martheen Cahya Paulo Jan 24 '11 at 7:42
If you are coming from a nix background, or if you do a lot of work in the console generally it can be really helpful to have a bare-bones text editor - for hacking scripts etc (like vim or nano)... –  AJH Jul 30 '12 at 18:55

3 Answers 3

Execute copy con note.txt

and type text, finish with Ctrl-Z.

share|improve this answer
Very cool trick that. –  paradroid Jan 25 '11 at 4:04

There is none. EDIT is a 16-bit DOS program, and Windows 7 x64 doesn't support 16-bit applications. If you need to edit text files via the command line in 64-bit Windows, you will need to use a third party application like VIM.

share|improve this answer

If you are looking for a replacement console text editor, Brief Basic is a single .exe file and uses pretty standard keyboard shortcuts.

The original 16-bit version of Brief was widely used in the MS-DOS days.

Brief text Editor

share|improve this answer

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.