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"
Moderator: DosItHelp
Code: Select all
wmic process where "name='cmd.exe' and commandline like '%%scriptname%%'" call setpriority "high"