Sorry for appearing to have bailed out here
The parsing of the wildcards was an unexpected surprise to me. In fact, it should not be a problem, I did code a loop over the COMMAND$ arguments. Thing is, if I run the command
stamp.exe *.*
it shows all files and folders, but I cannot see what files and folders are. Unless I start testing with _FILEEXISTS etc.
The folders I need to process separately (and recursive) which I was trying to avoid by a smart command. Only if the -R flag is specified. I cannot smart pass the -r flag to the QB64 command$ input.
As I want to read seconds of the files's date stamp I finally resorted to an external ls.exe tool. The plan was to feed the ls tool with the proper arguments and have a proper list in one go, and then I needed the asterisk to be in place.
I did a lot of testing, but realize that I have to retest and rethink of the programming plan. Yeah I messed up
The new tests will find the best way, either command$ or the smart code of mdijkens (dank!).
Thanks for all ideas and thinking, really appreciated.