Knowledge Walls
John Peter
Pune, Maharashtra, India
How to make/create a text file in ms dos without edit command?
4043 Views
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.
Solution
# Use below to create empty file in MS-DOS command.
echo. > new_file.txt
Best Lessons of "One day One Thing to Know"
Top lessons which are viewed more times.
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details