On 03/05/16 19:30, me.grimm wrote: > for example [makefilename %s%%s%%%s] the %%%s is > replaced with 0000000 I'm guessing %%%s is parsed as %% %s, and that you really need %%%%s to get %% %% s which becomes % % s (aka %% s) which finally becomes %s? See also: https://www.xkcd.com/1638/ Claude -- https://mathr.co.uk