Skip to content

Instantly share code, notes, and snippets.

@shaosh
Created September 16, 2014 18:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save shaosh/40cb2db191d6dc755251 to your computer and use it in GitHub Desktop.
Save shaosh/40cb2db191d6dc755251 to your computer and use it in GitHub Desktop.
Batch Script to Create files and folders
if not exist "reports\" (mkdir reports)
cd reports
if exist report.xml (
del "report.xml"
)
type nul >report.xml
echo ^<?xml version="1.0" encoding="UTF-8"?> >> report.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment