Knowledge Walls
John Peter
Pune, Maharashtra, India
Things to Know [cont'd]
Echo. > filename.txt in File System of MS-DOS Commands
7373 Views
How to create empty file in ms-dos? 
echo.> readme.txt
Above command to create empty file using MS-DOS.

echo           -will put "ECHO is On." to new file.
echo ""      -will put "" to new file.
echo.          -dot will not put anything on new file.
Example
@echo off

echo.>file1.txt
echo>file2.txt
echo"">file3.txt

echo "Files are created!"
Output 
Next Topics
Next lessons of current book.
File System of MS-DOS Commands
Arithmetic Operators of MS-DOS Commands
Arithmetic Operators of MS-DOS Commands
Arithmetic Operators of MS-DOS Commands
Previous Topics
Previous lessons of current book.
File System of MS-DOS Commands
Decision making of MS-DOS Commands
Decision making of MS-DOS Commands
Decision making of MS-DOS Commands
Decision making of MS-DOS Commands
Best Lessons of "MS-DOS Commands"
Top lessons which are viewed more times.
Arithmetic Operators of MS-DOS Commands
Arithmetic Operators of MS-DOS Commands
Relational Operators of MS-DOS Commands
String manipulation of MS-DOS Commands
String manipulation of MS-DOS Commands
String manipulation of MS-DOS Commands
Things to Know of MS-DOS Commands
  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