I have a file that drops into a folder location. I'm looking for a file named like this.
ID _Data_Tape_CCYYMMDD_hhmmss.txt
How do i accomplish this?
I have a file that drops into a folder location. I'm looking for a file named like this.
ID _Data_Tape_CCYYMMDD_hhmmss.txt
How do i accomplish this?
How about using a regular expression? in Racket, this will match the given file name:
To list all the files in a directory use
directory-list
or an equivalent procedure in your interpreter, then match their names against the above regular expression - and there, you found the files with the expected name.