Run the this command at the dos prompt:
Now you are copying the input from the keyboard and into the batch file NEW.BAT. It is not possible to modify previous lines, the only option is to start all over. To finish the editing press CTRL+Z.
COPY CON NEW.BAT
Updated: 24 September 2007