@mritter0
Tested on a two file list, haven't had the will to create more files
*NOT* optimized!
/* */
ADDRESS COMMAND 'list mark#? lformat="%n" >filelist.txt'
OPEN(fl,'filelist.txt','R')
DO WHILE ~EOF(fl)
fn=READLN(fl)
/*
Catch empty lines and skip them
*/
IF fn~=' ' THEN DO
fn_date=SUBSTR(fn,13,8)
fn_date_day=SUBSTR(fn_date,1,2)
fn_date_month=SUBSTR(fn_date,3,2)
fn_date_year=SUBSTR(fn_date,5,4)
fn_date=fn_date_year'-'fn_date_month'-'fn_date_day
fn_new=INSERT('..',fn,13,2)
fn_new=OVERLAY(fn_date,fn_new,13)
ADDRESS COMMAND 'rename 'fn' as 'fn_new
END
END
CLOSE (fl)
ADDRESS COMMAND 'delete filelist.txt'
EXIT 0