I have a .bat file [1] starting from a .vbs script [2] which only launches without launching a terminal if I don't include 'Start /low' in the .bat file.
The 'Start /low' part of the .bat file launches the command with the right (low) priority set, but it launches in a terminal, which I don't want.
I'm only able to launch the desired command in the background without a terminal if I don't set the priority in the .bat file. In which case the final .exe that launches slows my computer down, which is why I want to set its priority to 'low'.
I tried this [3], but it gives me an error when I run it [4].
Would someone kindly tell me how to make the executable start with low priority without launching a terminal window?
[1]
Start /low C:/dataserv-client/dataserv-client.exe --store_path=C:\Users\Chris\StorjData --max_size=800.0GB farm
[2]
Dim WinScriptHost
Set WinScriptHost = CreateObject("WScript.Shell")
WinScriptHost.Run Chr(34) & "C:\Users\Chris\Scripts\start_dataserv-client.bat" & Chr(34), 0
Set WinScriptHost = Nothing
[3]
Dim WinScriptHost
Set WinScriptHost = CreateObject("WScript.Shell")
WinScriptHost.Run Chr(34) & "Start /low C:/dataserv-client/dataserv-client.exe --store_path=C:\Users\Chris\StorjData --max_size=800.0GB farm" & Chr(34), 0
Set WinScriptHost = Nothing