Re: Batch Parsing of (S)equential/Non-Keyed file


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

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

or

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.



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]