Page 2 of 2

Re: "Out of String Space" when generating large Reports

Posted: 10 Jan 2021 07:56
by gernot.q
Thanks a lot, tested and working :)
This is almost perfect now - one thing left I would like to ask for:
Can we make a command line switch for the output path?
That way there is no user interaction necessary and I can run several jobs from a batch file.

I'll also make sure to do the donating thing again for troubling you so much :wink:

Re: "Out of String Space" when generating large Reports

Posted: 10 Jan 2021 10:15
by highend
You mean as a full path like: /dstFile="R:\log.csv"

I can do that...

Please note that with v0.1.0.4:

Code: Select all

01. /path was renamed to: /srcPath
02. /dateFormat was renamed to: /dateFmt
03. The new switch /dstFile was added
      a.) If you use it, no Save as file requester will be shown anymore
      b.) If the path part of it doesn't exist, it will fail with an error message
      c.) If .csv is used as the extension for the file, /useCSV will be set to 1 internally and can't be overridden by setting it to 0
Examples.:

Code: Select all

"Create folder report_x64.exe" /srcPath="C:\Windows" /dstFile="R:\log.txt" /dateFmt="%dd.%mm.%yyyy %hh:%ii:%ss" /useHash=0 /useCSV=1

REM /useCSV will be ignored because the file extension for /dstFile is set to .csv
"Create folder report_x64.exe" /srcPath="C:\Windows" /dstFile="R:\log.csv" /useHash=1
Create folder report_x64_v0.1.0.4.zip

Re: "Out of String Space" when generating large Reports

Posted: 11 Jan 2021 18:05
by gernot.q
Tested again. /dstFile Switch works :tup:
However, I have a little problem with using the command in a batch:

Image

Waiting for a key => not so good for batch processing ;)
My batch job was meant to run several disks in succession, preferably when I'm away or asleep.
So please can we get rid of the keypress?

Re: "Out of String Space" when generating large Reports

Posted: 11 Jan 2021 18:20
by highend
v0.1.0.5

It has another switch: /exitOnFinish=0|1
By default its internal value is 0 so for your case you need to supply it with /exitOnFinish=1

It will still show the stats at the end of the run and quits two seconds later if the switch value is 1
I hope you can live with the 2 seconds...
Create folder report_x64_v0.1.0.5.zip

Re: "Out of String Space" when generating large Reports

Posted: 15 Jan 2021 15:36
by gernot.q
Ugh finally weekend. Tested this in the meantime, and the switch works fine, thanks :)

PS: I can live with 2 seconds extra after 10 hours of indexing time :mrgreen:

Re: "Out of String Space" when generating large Reports

Posted: 16 Jan 2021 20:04
by highend
Ok :ninja: