New
#1
Trying to edit a batch file to run with a higher CPU priority
Hi guys,
Long time reader, first time poster.
I have a batch file, named lima.bat which has the following code in it:
Currently this works perfectly, all *.bin files are deleted, the two environment variables (lines 2 and 3) are set, and then the window color is set before the cgminer.exe begins. cgminer.exe runs inside the command prompt window.Code:del *.bin setx GPU_MAX_ALLOC_PERCENT 100 setx GPU_USE_SYNC_OBJECTS 1 color 02 C:\Users\user\Desktop\MineIt\cgminer.exe --config C:\Users\user\Dropbox\Lima\gigabyte-gold.conf
Now what I am trying to do (and failing at) is make it so that the cgminer.exe runs at higher CPU priority. I am trying to make it run at "ABOVENORMAL" or "HIGH" priority but am not sure how to make that happen and also keep the window color.
Could anyone assist please? Thank you very much!