Starting Visual Studio as a HIGH priority process?

I created a shortcut pointing to cmd /c "start /high c:\windows\notepad.exe" so it starts off the notepad process as a high priority process but this doesn't seem to work for the path

"C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe"

What's going on here?


There is no need to quote the entire command in a string like you are doing, also, start has a "bug", if the path has quotes, you must use a pair of empty quotes first to set the "title".

So, your command should look like:

cmd /c start "" /high "%ProgramFiles%\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe"

A process can control its own priority, so my guess is that VS will revert back to the normal priority even if you started it at a higher priority.