How To Create Blank Text File From Command Prompt
To create an empty plain text file from Command Prompt use Copy command. Use the Copy command as shown below.
After typing above command press Ctrl + Z keys on the keyboard, Command Prompt will display ^Z which represents pressing Ctrl + Z keys, when Command Prompt displays ^Z, press Enter key to create a file named FileName.txt. After pressing Enter key you should get a 1 file copied message.
Code:
Copy con FileName.txt
After typing above command press Ctrl + Z keys on the keyboard, Command Prompt will display ^Z which represents pressing Ctrl + Z keys, when Command Prompt displays ^Z, press Enter key to create a file named FileName.txt. After pressing Enter key you should get a 1 file copied message.