Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
COMMAND$ and wildcards on files
#15
Sorry for appearing to have bailed out here Cool 

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  Confused 
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.
Reply


Messages In This Thread
COMMAND$ and wildcards on files - by zaadstra - 12-24-2022, 05:12 PM
RE: COMMAND$ and wildcards on files - by SMcNeill - 12-24-2022, 07:35 PM
RE: COMMAND$ and wildcards on files - by zaadstra - 12-25-2022, 12:33 AM
RE: COMMAND$ and wildcards on files - by SMcNeill - 12-25-2022, 12:48 AM
RE: COMMAND$ and wildcards on files - by mdijkens - 12-25-2022, 08:10 AM
RE: COMMAND$ and wildcards on files - by zaadstra - 12-25-2022, 04:23 PM
RE: COMMAND$ and wildcards on files - by zaadstra - 12-29-2022, 05:58 PM
RE: COMMAND$ and wildcards on files - by mdijkens - 12-30-2022, 01:01 PM
RE: COMMAND$ and wildcards on files - by mdijkens - 12-30-2022, 06:11 PM
RE: COMMAND$ and wildcards on files - by zaadstra - 01-17-2023, 10:12 PM
RE: COMMAND$ and wildcards on files - by zaadstra - 01-19-2023, 05:25 PM
RE: COMMAND$ and wildcards on files - by mdijkens - 01-19-2023, 05:59 PM
RE: COMMAND$ and wildcards on files - by zaadstra - 01-19-2023, 07:31 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Fullscreen command glitch 2112 2 501 10-12-2025, 04:33 PM
Last Post: 2112
  sleep command in compiler no warning doppler 3 806 01-11-2025, 02:57 PM
Last Post: SMcNeill
  Bug report Files "*.txt" - Linux version 3.11.0 Circlotron 3 891 01-25-2024, 11:35 AM
Last Post: Circlotron
  Program for editing PDF files Kernelpanic 17 2,933 11-09-2023, 12:55 AM
Last Post: James D Jarvis
  parsing code files to identify dependencies? madscijr 2 876 03-24-2023, 06:21 PM
Last Post: madscijr

Forum Jump:


Users browsing this thread: 1 Guest(s)