I have to run around 2000 commands, basically they are PC-Lint (static code analysis tool for C++) commands (lint-nt.exe). PC-lint executable when it runs takes up huge CPU time and occupies good amount of memory. This is the reason, I can't run all 2000 commands at once!
I am looking for a commandline tool which can help me assess the CPU and memory conditions and schedules maximum possible commands to run in parallel.
The question has nothing to do with PC-Lint. You may take any other commandline utility which acquires good amount of system resources.
Right now, I am just running a command and wait for completion. but I know I can run these commands in parallel.
start /wait cmd /c "<COMMAND>"
start /wait cmd /c "<COMMAND>"
start /wait cmd /c "<COMMAND>"
...
Any ideas? You may also suggest PowerShell based solution.