windows 7's DOS command

Is there an edit command in windows 7 DOS
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sautiAuthor Commented:
How to edit a text file using the DOS comand
Q: Why not use notepad?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
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.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Server Apps

From novice to tech pro — start learning today.