windows 7's DOS command

Is there an edit command in windows 7 DOS
Who is Participating?
aadihConnect With a Mentor Commented:
Q: Why not use notepad?
sautiAuthor Commented:
How to edit a text file using the DOS comand
QlemoBatchelor and DeveloperCommented:
cmd.exe isn't DOS, and W7 doesn't have DOS - that is long gone, all NT-based OS have kind of an emulator. The pro is that you can use the commandline to start Windows applications.

So, as said above, use NotePad - you can call that directly from the prompt.
Windows 7 has the edit command in Command Prompt

Windows 7 Command Prompt Commands

The edit command starts the MS-DOS Editor tool which is used to create and modify text files.

The edit is not available in 64-bit versions of Windows 7.

Steve KnightIT ConsultancyCommented:
as people have said......

id i am in cmd prompt and want to edit a file then either type.

start somefile.txt
notepad somefile.txt

if you start typing a filename or path and press tab it completes it for your, i.e. you can type

noepad c./pr (tab) to get program files dir etc. then \ and tab again etc.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.