KOMPX.COM or COMPMISCELLANEA.COM   

Создать пустой файл с помощью командной строки Windows

Создать пустой файл в командной строке Windows / cmd:

  1. С помощью команды COPY
  2. С помощью команды TYPE

COPY


COPY NUL empty.txt

TYPE


TYPE NUL > empty.txt

Ссылки

  1. 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
  2. How to create empty text file from a batch file?: stackoverflow.com/questions/210201/how-to-create-empty-text-file-from-a-batch-file
Операционные системы
Ещё