How to create file in MS-DOS?
echo will display given string as result.
echo [output-string] is the syntax of using echo command in MS-DOS.
echo [output-string] > file_name.txt will push given output-string to file.
echo
Will display Echo is On. so in output file Echo is On. string will go to created file.
echo. > file_name.txt
Not putting any specific word to new file.
|
# Use below to create empty file in MS-DOS command.
echo. > new_file.txt
|