Created
June 6, 2011 15:41
-
-
Save boywhoroared/1010489 to your computer and use it in GitHub Desktop.
Truncate a file via Windows CLI
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
echo. > errors.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Truncates a file by just overwriting it with a blank line.
errors.log
can be replaced with name or path of any file you wish to truncate.