Creating Files
In Batch Script, the creation of a new file is done with the help of the redirection filter >. This filter can be used to redirect any output to a file.
Example
@echo off
echo "Hello">C:\new-file.txtIf the file new-file.txt is not present in C:\, it will be created with the previous command.