Posted by Robert G Laurin on October 12, 2016 at 06:09:41:
In Reply to: Batch Parsing of (S)equential/Non-Keyed file posted by Bob A on October 11, 2016 at 22:19:32:
There are many ways of doing what you want to do.
In Comet, you can use FSTAT to get to each file, if the files are not Comet files, use the (FindFirstFile) and (FindNextFile) mnemonics to parse thru the directory.
You can process them one after the other using the method above. If you really need to combine then I would use the DOS Command Prompt's COPY command to combine them:
COPY FILE1+FILE2+FILE3 NEWFILE
for %%a in (**filePattern**) do copy NEWFILE+%%a NEWFILE
If you want to parse one at the time, you can use the (InputFile) mnemonic to grab a whole file in memory and parse it.
You did not mention how many files or how large they are nor the combined size.
Are you using Comet32 ?
If it may help you, I have a Include file that handles (FindFirstFile) and (FineNextFile) that is just a simple Gosub.
Post a Followup
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.