View Single Post
  #7  
Old 12-19-2011, 01:04 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: [SOLVED]How to download files with timestamp in filename (Windows).


i have written a little app in c (just 3 lines of code) which will output the current time in fixed format making it easy to parse.
Code:
for /f "tokens=1-7 delims=: " %a in ('timestamp.exe') do set FileName="MyShow_%g-%b-%c_%d-%e-%f.flv"
Code:
set FileName="MyShow_2011-Dec-19_13-29-40.flv"
Code:
http://www.mediafire.com/file/89a7ymiu3s3bsid/timestamp.exe
Reply With Quote