Intending to collect all matching files with .ctb extension, but also gets those with extensions .ctb~ .ctb~~ .ctb~~~ .ctb~~~~ ...etc.
Code: Select all
FileCopy, C:\Blah\*.ctb, C:\NewPath\*.*, 1
Normally, a pattern match like that would require *.ctb*
These are CherryTree backup files, by the way. I also tested with filename.ctbxyz, which also gets copied.
Is it a bug, or am I doing it wrong? (Is there a way to definitively end the pattern given, maybe?)