Answers for "how to create a file on windows terminal"

1

how to create file in terminal in windows

type nul > filename. txt .
Posted by: Guest on October-05-2021
7

create a file cmd

type NUL > EmptyFile.txt
# also
echo. 2>EmptyFile.txt
copy nul file.txt > nul # also in qid's answer below
REM. > empty.file
fsutil file createnew file.cmd 0 # to create a file on a mapped drive
Posted by: Guest on May-20-2020

Code answers related to "how to create a file on windows terminal"

Browse Popular Code Answers by Language