Maximum file size or entries to append to a file with VBScript?
Posted on 2014-03-02
Can't find here and Mr. Google doesn't respond either, so sorry if this has been answered; it seems pretty basic.
I have a VBScript that is appending to a file to create a log of PDFs being processed by an OCR system. Ran fine for a couple of days, now I get a "Permission denied" error when I hit the "OpenTextFile" instruction. The file has about 24K lines, and is just under 1MB in size. The same script is running on another machine without error, but has 22K lines and is about 800K in size. So, is there a file size or number of records maximum problem? If so, is there a different way to open the file?
I need the log to run for several days as I look for an unrelated system problem. The contents of the file will be copied into a spreadsheet as CSV data for analysis.