Skip to content

Instantly share code, notes, and snippets.

@allysonsouza
Created June 1, 2018 01:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save allysonsouza/cf6f2e73a86e1b05f1601e0c1f4dec34 to your computer and use it in GitHub Desktop.
Save allysonsouza/cf6f2e73a86e1b05f1601e0c1f4dec34 to your computer and use it in GitHub Desktop.
Clear a file content, accepting two parameters: filepath and filename
echo off
set filepath=%1
set filename=%2
break > %filepath%\%filename%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment