Thursday, 9 July 2015
Batch log file with name and date
cscript example.vbs > %computername%_%date:~-4,4%%date:~-10,2%%date:~-7,2%_%time:~0,2%%time:~3,2%%time:~6,2%.log
Output:
MyComputer_20150907_144646.log
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment