Search found 2 matches

by DavidRoper
Tue Dec 31, 2013 3:56 pm
Forum: CLI Discussions
Topic: BATCH PROGRAM to GET DATE and TIME from FILE
Replies: 3
Views: 15884

Re: BATCH PROGRAM to GET DATE and TIME from FILE

Thanks, can you go further to give me year, month, day and 24hour, minute, and seconds as YYYY,MM,DD and then HH,MM,SS.
II need to use it to rename a file like YYYYMMDD-HHMMSS.txt., etc.
by DavidRoper
Mon Dec 30, 2013 8:40 pm
Forum: CLI Discussions
Topic: BATCH PROGRAM to GET DATE and TIME from FILE
Replies: 3
Views: 15884

BATCH PROGRAM to GET DATE and TIME from FILE

Anybody know how to get the file date using a Windows Batch file? Such as YYYYMMDD and maybe time of file as HHMMSS? Not the system file and date, the File Time and date.