I'm trying to get:
start "" /high "c:\software\mysoftware.exe"
or
start "" /realtime "c:\software\mysoftware.exe"
To work on Windows 10. Which I of course can't, as determined through threads like: start /realtime with a .bat file but the process is still not realtime
In it however, the user is trying to get a program to start with high priority, on Windows start. Whereas I, would like to start it arbitrarily. There, the thread was solved by using Task Scheduler.
So my question is, if a similar alternative or workaround can be used, to run software arbitrarily, with a higher priority than normal…
Now I know there are a lot of threads on this out there, but most of them either don't fit the use case or just don't work. Like the one here: Start process in high priority
I tried:
start "Frozen Throne" /high "C:\Users\Valeri\Saved Games\Warcraft III\Frozen Throne.exe"
As in the first answer, and it just didn't work…
I'm curious about the solution in: Run a file with HIGH priority
But can anyone give some feedback on how I would apply something like that, to my scenario? Any feedback on solving this absolute blunder from Windows, would be greatly appreciated...
EDIT 1:
One of the users suggested I use start /b /High "c:\software\mysoftware.exe"
, which I did in the past, to no avail, and tried again just now. What happens is that the application doesn't launch at all and I just get this, inside of CMD:
EDIT 2:
I tested start "" /high notepad
, as mentioned in @harrymc's post, and the Notepad did indeed, open up with high priority, however, this and all other attempts, do not seem to work at all for C:\Users\Valeri\Saved Games\Warcraft III\Frozen Throne.exe
, which I want to open as either realtime or high
FINAL EDIT & SOLUTION: So as it turns out, I haven't been too attentive after all, as launching C:\Users\Valeri\Saved Games\Warcraft III\Frozen Throne.exe
, automatically opens up war3.exe
instead...
Applying start "" /b /High "C:\Users\Valeri\Saved Games\Warcraft III\war3.exe"
as recommended by @DavidPostill or
Start-Process "C:\Users\Valeri\Saved Games\Warcraft III\Frozen Throne.exe"
Get-WmiObject Win32_process -filter 'name = "Frozen Throne.exe"' | foreach-object { $_.SetPriority(256) }
, as recommended by @Steffen S., to the right .exe, that may open after the initial .exe in some cases, solves this issue... thanks for all the help!
/b
switch like this :start /b /High "c:\software\mysoftware.exe"
start "" /b ...
start "" /b /High "C:\Users\Valeri\Saved Games\Warcraft III\Frozen Throne.exe"
, but still 'Normal' inside of Task Manager, unfortunately...