Wednesday, May 21, 2014

Creating a file name as a Date stamp in a batch File


Source Code line
Dir>C:\myFile_%date:/=%.log

Output File Name
myFile_05212014.log

No comments:

Post a Comment

Your feedback is always appreciated. I will try to reply to your queries as soon as time allows.Please don't spam,spam comments will be deleted upon reviews.