Last active
August 29, 2015 14:18
-
-
Save Daniel-Wiedemann/47cb35e9f2b6baf6c1fc to your computer and use it in GitHub Desktop.
Create empty text file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
With echo command it is possible to create an empty text file. | |
E.g. | |
C:\ echo > test.txt | |
or | |
C:\ echo > app.js | |
Add text | |
C:\ echo Mein Text > text.txt | |
">" overwrite the text file | |
">>" append the text to the file | |
or | |
C:\ copy con test.txt | |
Mein Text | |
(mit CTRL+C) beenden. | |
or | |
(append text) | |
C:\ copy test.txt + con | |
Mein Text | |
(mit CTRL+C) beenden |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment