Answers for "how to create files in command line"

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
-1

how to create files in command line

notepad mynewfile.*insert file extension here*
Posted by: Guest on September-01-2020

Code answers related to "how to create files in command line"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language