I'm get the following error when I type
edit command on DOS prompt:
edit is not recognized as external or internal command, operable program or batch file
But a few days ago it was working all okay. What happened?
Questions on Super User are expected to relate to computer software or computer hardware within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.
If this is truly MS-DOS then you've either deleted
If you're just talking about the "DOS" window in Windows (and that hasn't really been MS-DOS for a long time), just use Notepad.
However, if you're hell-bent on using
Most likely your Path variable is incorrect. Otherwise it has actually been deleted or moved.
Check your PATH environment variable. In DOS prompt, check the output of
for the Windows folder. Otherwise, DOS will not know where the executable is located.