copy
C:\> cd test
C:\test> copy con notes.txt
This is a simple file created via the copy command
Ctrl+Z
Enter
^Z 1 file(s) copied.
If you decide you do not wish to create the file, you can cancel using Ctrl+C and pressing the Enter key.It is important to note that once you press the Enter key (on any line of your file), it is not possible to go back and make changes. For this reason, for any file longer than a line or two, I don't recommend this technique. I suggest using Notepad or your favorite text editor instead.I was searching the Microsoft Help and Support site while writing this and found the following additional tip:Appending a Line to a File with COPY Con or ECHOThis tip is extremely cool if what you are looking to do is add a line or two to an existing file.Enjoy!-- DKDisclaimer(s):This posting is provided "AS IS" with no warranties, and confers no rights.
Ctrl+C