Search found 4 matches

by zebuguinho
17 Feb 2020 13:05
Forum: DOS Batch Forum
Topic: .Bat Change priority process several times
Replies: 7
Views: 9898

Re: .Bat Change priority process several times

wmic process where processid=12345 CALL setpriority 32768 I need .bat to make the process change its priority several times, going from normal to low, low to high, high to below normal, etc ... the sequence doesn't matter, I wanted the process to continue changing the priority for at least 2 minutes...
by zebuguinho
17 Feb 2020 07:04
Forum: DOS Batch Forum
Topic: .Bat Change priority process several times
Replies: 7
Views: 9898

Re: .Bat Change priority process several times

See https://superuser.com/questions/620724/changing-windows-process-priority-via-command-line The class has also a ProcessID member that you can use in the WHERE clause: wmic process where processid=12345 CALL setpriority 32768 Steffen Can you write the code for me? I need the process to change the...
by zebuguinho
16 Feb 2020 07:58
Forum: DOS Batch Forum
Topic: .Bat Change priority process several times
Replies: 7
Views: 9898

.Bat Change priority process several times

I need a .bat file that changes the process priority several times, contains several processes with the same name, so I need the command to put the PID, I would like the process to be decreasing and increasing the priority alone, for 2min. Can someone do this for me? I need the process to change fro...