How to create a new text file in DOS with the end result allowing me to rename the file?
- by Rolo
I would like an exact duplicate of the following procedure on a Windows computer using mouse clicks: Right Click in a directory and choose New and then Text Document.
When one does this, the text file is created with a default name of New Text Document AND it is also highlighted so that I can type in my own file name.
I would like to do this in DOS. I don't care what file name is originally created. What I want is for the name of the file to automatically be highlighted / able to be renamed, so that I can rename it.
How can DOS execute / simulate a rename command / an F2 being pressed on the keyboard to a file that it has just created?