Dos
Posted on May 7th, 2014
[Command]
[Shell script]
- variant : http://steve-jansen.github.io/guides/windows-batch-scripting/part-2-variables.html
SET sDate=%date:~0,4%%date:~5,2%%date:~8,2%_%time:~0,2%%time:~3,2%%time:~6,2%.txt
echo %sDate% - http://stackoverflow.com/questions/1192476/format-date-and-time-in-a-windows-batch-script
- date time : http://stackoverflow.com/questions/1192476/format-date-and-time-in-a-windows-batch-script
- if : http://www.computerhope.com/if.htm