Quantcast
Viewing all articles
Browse latest Browse all 1767

A good lesson: If %@UNIQUE[] fails, use %@UNIQUEX[] instead!

I didn’t believe it until I saw it.

Yesterday and last night, I was running a script in many thousands of folders (a batch LRC/SRT->to-TXT converter I wrote, python-wrapped-in-BAT-files). The total run took almost 24 hours.

It was working fine when I went to sleep.
When I woke up, my set-tmp-file bat that sets %TMPFILE to a unique filename in the %TEMP folder started failing and throwing errors.

I have a theory that %@UNIQUE croaked because there are too many files in my %TEMP% folder...

Read more

Viewing all articles
Browse latest Browse all 1767

Trending Articles