Create an empty file from command line (Windows)
Creating an empty text file in Windows Command Prompt / cmd:
COPY
COPY NUL empty.txt
TYPE
TYPE NUL > empty.txt
Links
- How can I create an empty file at the command line in Windows?: stackoverflow.com/questions/1702762/how-can-i-create-an-empty-file-at-the-command-line-in-windows
- How to create empty text file from a batch file?: stackoverflow.com/questions/210201/how-to-create-empty-text-file-from-a-batch-file
Operating systems
- Windows