How can a batch lower the priority ONLY of the cmd that runs it?
Posted: 2023-Dec-18, 6:22 am
Hi
How can a batch lower the priority ONLY of the cmd that runs it?
Why isn't this code working?
Please help
How can a batch lower the priority ONLY of the cmd that runs it?
Why isn't this code working?
Code: Select all
wmic process where "name='cmd.exe' and commandline like '%%scriptname%%'" call setpriority "high"