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.
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!
Long time reader, first time poster.
I have a batch file, named lima.bat which has the following code in it:
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
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.
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!
My Computer
- Computer type
- PC/Desktop
- Computer Manufacturer/Model Number
- Custom
- OS
- Windows 7 Pro x64
- CPU
- Intel i7 3770K
- Motherboard
- Gigabyte Z77-UD3H
- Memory
- 4x8GB DDR3
- Graphics Card(s)
- Gigabyte R9 280x Windforce
- Hard Drives
- Samsung 840 Pro 128GB
WD Caviar Black 1TB
- Browser
- Chrome