[ASK] script to make print file and set it name by date

hello..
i want to make print file with date as it name, i have tried but always failed.

first i tried to print date,

[admin@MikroTik] /system script> :local a [/system clock get date]; :put $a;
apr/23/2011

then, i want print file with date as it name,

[admin@MikroTik] /system script> :local a [/system clock get date]; print file=$a;

and the result, no file are printed.

help me please :frowning:.

File names cannot contain ‘/’ character. You can parse out all / and then use it as filename.

:slight_smile: thanks Mr.mrz, my problem solved, i use command “pick”.