It might be interesting to add the possibility to use wildcards for the Copy and Delete file commands.
(At least " * " optionnaly ' ? ' but best of all and modern will be "regular expressions")
This should be put as an option in existing commands or as a new feature to ensure backward compatibility and to avoid possible errors due to systems that accept '*' and '?' in filenames.
CopyFile
Code: Select all
CopyFile(SourceFilename$, DestinationFilename$ [, Flags])
#PB_No_Overwrite (New)
#PB_Allow_Wildcards (New)
Code: Select all
DeleteFile(Filename$ [, Flags])
#PB_FileSystem_Force (Exist)
#PB_Allow_Wildcards (New)