Twenty-five years ago I posted a comment in some forum to the effect
that if you're still using and liking edlin, you probably also enjoy
dentistry without anesthesia, mow your grass with a reel-action push
mower, and light your cigarettes by rubbing two sticks together.
They and edlin all would get the job done, but indeed, why would you
do it that way? Even then, the relatively simple DOS-based word
processors we had made writing and editing text files far, far easier.
Can someone explain the OP's desire to edit batch (text) files in a
cmd window? Why not just load it into Notepad, or Notepad++ if you're
doing coding?