D
D
Dmitry2021-02-07 16:53:50
cmd/bat
Dmitry, 2021-02-07 16:53:50

For in loop terminates on its own after about 8 hours, where to set?

Launched batch processing of several hundred thousand files. The cycle ends after about 8 hours without completing the processing of files. Where can I set this limit so that it works until the victory?
for %a in (*.txt) do stat.exe %a

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Korotenko, 2021-02-07
@firedragon

Break this task into several.
Each task is a list of files (let it be a thousand)
After completion, delete this task (a file with a list of files)
such cases

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question