OS2World.com Forum is back !!!Remember to visit OS2World at:http://www.os2world.com
I want to use the file name Ziipboot_Current.zip and, then change it to Zipboot_20161123.zip on the next backup run.
You should also remember that different locales use different date formats, and you should handle the case where two (or more) backups are done on the same date, so it may be good to include the time too (again, locale makes a difference, although using the 24 hour clock might be best).
Perhaps something like:filedate = SPACE( TRANSLATE( STREAM( fileName, "C", "QUERY DATETIME" ),, SPACE( TRANSLATE( XRANGE(),, XRANGE( 0, 9 ) ), 0 ) ), 0 )//Jan-Erik Lärka