View Single Post
  #1  
Old 05-06-2021, 07:34
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 744
Thanks: 168
Thanked 786 Times in 391 Posts
Masquerade is on a distinguished road
Multithreaded bat file

Hello everyone,

I have a bat file designed to carry out a task for all files in a folder via FOR command.

Currently, it only processes one file at once then moves onto the next file. For folders with, say, 200 items, this doesn't take long. However, it takes several hours to process large folders with several thousand items inside.

So, if I have 16 threads, is there any way to run the FOR task for 16 files at once all the way until all files are processed?
Reply With Quote
Sponsored Links