great script. thank you!
For GTX 980 Normalization values: See my batch file below.
.bat
I have now dropped all versions of ccminer in C:\zPool.ca as well as all of my batch files. All of my statements towards use of my batch will assume you have taken this step.
From now on I will be leaving all algo's off that I deem are not useful for me to mine. others may have different opinions, but this is how it is. Its simple to add them back in, please reference the comments for V1.06
V1.07b Beta.
Implementd dynamic use of algo name in pool URL
Add ability to select video card(s) per-batch. In essence, be able to run one batch per video card. One card drops, you handle it in a separate way.... different diff per-device so that share freq per provided hashrate on your end can be more consistent as if they were in separate machines. Be sure to set this as per comments in the batch file.[/i]
@echo off
SETLOCAL EnableExtensions
SET ADDY=1PHSDYvVp6HpqtuUPocK41DrdeHbbezaeP
SET DEV=0,1
SET ID=JKi,
REM NOTE: ADDY is where you put in your wallet address. DEV is for device numbers to mine on. If you have
REM two video cards, then you will leave it as 'SET DEV=0,1' as it comes. If you wish to only use your second
REM and third video cards, you would use: 'SET DEV=1,2'... and so on. ID is just a string to
REM identify your miner's connection on the wallet page via the password field preview displayed.
REM
SET A=ccminer180.exe
SET B=ccminerx11e.exe
SET C=ccminerlyra2.exe
SET D=ccminerNS.exe
SET E=ccminerlbry.exe
REM NOTE: A,B,C,D&E are all the ccminer file-names. You should be able to use path:\to\ccminer.exe if you
REM so desire. I highly suggest putting a copy of each ccminer version you are using, in one folder
REM with this naming structure to keep it simple.
REM
SET POOL=mine.zpool.ca
SET COUNTER=0
SET LAST=N/A
SET A01=x13
SET A02=x11
SET A03=qubit
SET A04=x15
SET A05=lyra2v2
SET A06=neoscrypt
SET A07=decred
SET A08=blakecoin
SET A09=c11
SET A10=quark
SET A11=groestl
SET A12=blake2s
SET A13=x14
SET A14=x17
SET A15=nist5
SET A16=skein
SET A17=sib
SET A18=x11evo
SET A19=lbry
REM NOTE: Above are all the algos listed with a shorter pointer name. You can use this reference to disable
REM an algo in the lines below beginning with 'start "%DEV%:%...' by using the REM command before them
REM just like you see used to comment this text you are reading. Be sure to add/remove
REM the corresponding algo's normalization in the 'SET PASS=%ID...' line. The currently disabled ones
REM can be found at the bottom of this batch file outside the main loop.
REM
COLOR 0A
:START
SET CURRENT=NONE
SET /A COUNTER=%COUNTER%+1
SET PASS=%ID%c=BTC,x17=5.2,nist5=8.0,x11evo=7.7,sib=1.1,x13=6.8,x14=7.0,x15=5.6,x11=8.2,qubit=12.5,lyra2v2=22.0,lbry=157.0,stats
ECHO Starting miner processes....
START "%DEV%:%A01%" /min %A% -d %DEV% -r 0 -a %A01% -i 17.5 -o stratum+tcp://%A01%.%POOL%:3633 -u %ADDY% -p %PASS%
START "%DEV%:%A02%" /min %A% -d %DEV% -r 0 -a %A02% -i 17.5 -o stratum+tcp://%A02%.%POOL%:3533 -u %ADDY% -p %PASS%
START "%DEV%:%A03%" /min %A% -d %DEV% -r 0 -a %A03% -i 17.2 -o stratum+tcp://%A03%.%POOL%:4733 -u %ADDY% -p %PASS%
START "%DEV%:%A04%" /min %A% -d %DEV% -r 0 -a %A04% -i 17.5 -o stratum+tcp://%A04%.%POOL%:3733 -u %ADDY% -p %PASS%
START "%DEV%:%A05%" /min %C% -d %DEV% -r 0 -a %A05% -i 17.2 -o stratum+tcp://%A05%.%POOL%:4533 -u %ADDY% -p %PASS%
REM START "%DEV%:%A06%" /min %D% -d %DEV% -r 0 -a %A06% -i 15.0 -o stratum+tcp://%A06%.%POOL%:4233 -u %ADDY% -p %PASS%
REM START "%DEV%:%A07%" /min %A% -d %DEV% -r 0 -a %A07% -i 23.0 -o stratum+tcp://%A07%.%POOL%:5744 -u %ADDY% -p %PASS%
REM START "%DEV%:%A08%" /min %A% -d %DEV% -r 0 -a %A08% -i 26.0 -o stratum+tcp://%A08%.%POOL%:5743 -u %ADDY% -p %PASS%
REM START "%DEV%:%A09%" /min %A% -d %DEV% -r 0 -a %A09% -i 17.5 -o stratum+tcp://%A09%.%POOL%:3573 -u %ADDY% -p %PASS%
REM START "%DEV%:%A10%" /min %A% -d %DEV% -r 0 -a %A10% -i 17.5 -o stratum+tcp://%A10%.%POOL%:4033 -u %ADDY% -p %PASS%
REM START "%DEV%:%A11%" /min %A% -d %DEV% -r 0 -a %A11% -i 17.0 -o stratum+tcp://%A11%.%POOL%:5333 -u %ADDY% -p %PASS%
REM START "%DEV%:%A12%" /min %A% -d %DEV% -r 0 -a %A12% -i 22.0 -o stratum+tcp://%A12%.%POOL%:5766 -u %ADDY% -p %PASS%
START "%DEV%:%A13%" /min %A% -d %DEV% -r 0 -a %A13% -i 19.0 -o stratum+tcp://%A13%.%POOL%:3933 -u %ADDY% -p %PASS%
START "%DEV%:%A14%" /min %A% -d %DEV% -r 0 -a %A14% -i 17.0 -o stratum+tcp://%A14%.%POOL%:3737 -u %ADDY% -p %PASS%
START "%DEV%:%A15%" /min %A% -d %DEV% -r 0 -a %A15% -i 17.5 -o stratum+tcp://%A15%.%POOL%:3833 -u %ADDY% -p %PASS%
REM START "%DEV%:%A16%" /min %A% -d %DEV% -r 0 -a %A16% -i 17.5 -o stratum+tcp://%A16%.%POOL%:4933 -u %ADDY% -p %PASS%
START "%DEV%:%A17%" /min %A% -d %DEV% -r 0 -a %A17% -i 15.0 -o stratum+tcp://%A17%.%POOL%:5033 -u %ADDY% -p %PASS%
START "%DEV%:%A18%" /min %B% -d %DEV% -r 0 -a %A18% -i 17.0 -o stratum+tcp://%A18%.%POOL%:3553 -u %ADDY% -p %PASS%
START "%DEV%:%A19%" /min %E% -d %DEV% -r 0 -a %A19% -i 17.0 -o stratum+tcp://%A19%.%POOL%:3334 -u %ADDY% -p %PASS%
ECHO Miner processes started. Waiting for connections to resolve.
CHOICE /c · /n /t 20 /d ·
REM NOTE: If your machine needs more time to wait for the instances of ccminer to close, modify the above line's value
REM of '20' to the number of seconds you wish it to wait.
REM
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A01%"') DO IF %%x == %A% SET CURRENT=%A01%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A02%"') DO IF %%x == %A% SET CURRENT=%A02%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A03%"') DO IF %%x == %A% SET CURRENT=%A03%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A04%"') DO IF %%x == %A% SET CURRENT=%A04%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %C%" /FI "WINDOWTITLE eq %DEV%:%A05%"') DO IF %%x == %C% SET CURRENT=%A05%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %D%" /FI "WINDOWTITLE eq %DEV%:%A06%"') DO IF %%x == %D% SET CURRENT=%A06%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A07%"') DO IF %%x == %A% SET CURRENT=%A07%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A08%"') DO IF %%x == %A% SET CURRENT=%A08%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A09%"') DO IF %%x == %A% SET CURRENT=%A09%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A10%"') DO IF %%x == %A% SET CURRENT=%A10%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A11%"') DO IF %%x == %A% SET CURRENT=%A11%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A12%"') DO IF %%x == %A% SET CURRENT=%A12%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A13%"') DO IF %%x == %A% SET CURRENT=%A13%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A14%"') DO IF %%x == %A% SET CURRENT=%A14%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A15%"') DO IF %%x == %A% SET CURRENT=%A15%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A16%"') DO IF %%x == %A% SET CURRENT=%A16%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A17%"') DO IF %%x == %A% SET CURRENT=%A17%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %B%" /FI "WINDOWTITLE eq %DEV%:%A18%"') DO IF %%x == %B% SET CURRENT=%A18%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %E%" /FI "WINDOWTITLE eq %DEV%:%A19%"') DO IF %%x == %E% SET CURRENT=%A19%
REM Algo detection for display purposes only.
REM
ECHO Currently mining: %CURRENT%
ECHO Total number of algo switches: %COUNTER%
ECHO Previously mining: %LAST%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%CURRENT%"') DO IF %%x == %A% ECHO Waiting for %A% to close...
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %B%" /FI "WINDOWTITLE eq %DEV%:%CURRENT%"') DO IF %%x == %B% ECHO Waiting for %B% to close...
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %C%" /FI "WINDOWTITLE eq %DEV%:%CURRENT%"') DO IF %%x == %C% ECHO Waiting for %C% to close...
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %D%" /FI "WINDOWTITLE eq %DEV%:%CURRENT%"') DO IF %%x == %D% ECHO Waiting for %D% to close...
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %E%" /FI "WINDOWTITLE eq %DEV%:%CURRENT%"') DO IF %%x == %E% ECHO Waiting for %E% to close...
REM Above checks processes for all instance-names of ccminer, and displays which one is running.
REM
:END1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%CURRENT%"') DO IF %%x == %A% goto END1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %B%" /FI "WINDOWTITLE eq %DEV%:%CURRENT%"') DO IF %%x == %B% goto END1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %C%" /FI "WINDOWTITLE eq %DEV%:%CURRENT%"') DO IF %%x == %C% goto END1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %D%" /FI "WINDOWTITLE eq %DEV%:%CURRENT%"') DO IF %%x == %D% goto END1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %E%" /FI "WINDOWTITLE eq %DEV%:%CURRENT%"') DO IF %%x == %E% goto END1
REM Checking processes for ccminer, if any version found, start looking again until none is found to continue
REM
SET LAST=%CURRENT%
CLS
GOTO START
JK's nVidia zPool Miner Batch V1.07b
,neoscrypt=0.651
,decred=1.7
,skein=293.0
,blake2s=1.2
,c11=8.3
,groestl=24.5
,quark=11.5
,blakecoin=1.4
V0.1.0 This is the "Lite" profit switching script that rotates through the algos one at a time. If you have issues using my regular batch.... please use this version instead. It isn't as efficient, but will solve the problems with multiple instances of ccminer running, or poor algo detection in the script.
@echo off
SETLOCAL EnableExtensions
SET ADDY=1PHSDYvVp6HpqtuUPocK41DrdeHbbezaeP
SET DEV=0,1
SET ID=JKi,
SET A=ccminer180.exe
SET B=ccminerx11e.exe
SET C=ccminerlyra2.exe
SET D=ccminerNS.exe
SET E=ccminerlbry.exe
SET POOL=mine.zpool.ca
SET A01=x13
SET A02=x11
SET A03=qubit
SET A04=x15
SET A05=lyra2v2
SET A06=neoscrypt
SET A07=decred
SET A08=blakecoin
SET A09=c11
SET A10=quark
SET A11=groestl
SET A12=blake2s
SET A13=x14
SET A14=x17
SET A15=nist5
SET A16=skein
SET A17=sib
SET A18=x11evo
SET A19=lbry
:start
SET PASS=%ID%c=BTC,x17=5.2,nist5=8.0,x11evo=7.7,sib=1.1,x13=6.8,x14=7.0,x15=5.6,x11=8.2,qubit=12.5,lyra2v2=22.0,lbry=157.0,stats
ECHO Starting miner processes....
%A% -d %DEV% -r 0 -a %A01% -i 17.5 -o stratum+tcp://%A01%.%POOL%:3633 -u %ADDY% -p %PASS%
%A% -d %DEV% -r 0 -a %A02% -i 17.5 -o stratum+tcp://%A02%.%POOL%:3533 -u %ADDY% -p %PASS%
%A% -d %DEV% -r 0 -a %A03% -i 17.2 -o stratum+tcp://%A03%.%POOL%:4733 -u %ADDY% -p %PASS%
%A% -d %DEV% -r 0 -a %A04% -i 17.5 -o stratum+tcp://%A04%.%POOL%:3733 -u %ADDY% -p %PASS%
%C% -d %DEV% -r 0 -a %A05% -i 17.2 -o stratum+tcp://%A05%.%POOL%:4533 -u %ADDY% -p %PASS%
REM %D% -d %DEV% -r 0 -a %A06% -i 15.0 -o stratum+tcp://%A06%.%POOL%:4233 -u %ADDY% -p %PASS%
REM %A% -d %DEV% -r 0 -a %A07% -i 23.0 -o stratum+tcp://%A07%.%POOL%:5744 -u %ADDY% -p %PASS%
REM %A% -d %DEV% -r 0 -a %A08% -i 26.0 -o stratum+tcp://%A08%.%POOL%:5743 -u %ADDY% -p %PASS%
REM %A% -d %DEV% -r 0 -a %A09% -i 17.5 -o stratum+tcp://%A09%.%POOL%:3573 -u %ADDY% -p %PASS%
REM %A% -d %DEV% -r 0 -a %A10% -i 17.5 -o stratum+tcp://%A10%.%POOL%:4033 -u %ADDY% -p %PASS%
REM %A% -d %DEV% -r 0 -a %A11% -i 17.0 -o stratum+tcp://%A11%.%POOL%:5333 -u %ADDY% -p %PASS%
REM %A% -d %DEV% -r 0 -a %A12% -i 22.0 -o stratum+tcp://%A12%.%POOL%:5766 -u %ADDY% -p %PASS%
%A% -d %DEV% -r 0 -a %A13% -i 19.0 -o stratum+tcp://%A13%.%POOL%:3933 -u %ADDY% -p %PASS%
%A% -d %DEV% -r 0 -a %A14% -i 17.0 -o stratum+tcp://%A14%.%POOL%:3737 -u %ADDY% -p %PASS%
%A% -d %DEV% -r 0 -a %A15% -i 17.5 -o stratum+tcp://%A15%.%POOL%:3833 -u %ADDY% -p %PASS%
REM %A% -d %DEV% -r 0 -a %A16% -i 17.5 -o stratum+tcp://%A16%.%POOL%:4933 -u %ADDY% -p %PASS%
%A% -d %DEV% -r 0 -a %A17% -i 15.0 -o stratum+tcp://%A17%.%POOL%:5033 -u %ADDY% -p %PASS%
%B% -d %DEV% -r 0 -a %A18% -i 17.0 -o stratum+tcp://%A18%.%POOL%:3553 -u %ADDY% -p %PASS%
%E% -d %DEV% -r 0 -a %A19% -i 17.0 -o stratum+tcp://%A19%.%POOL%:3334 -u %ADDY% -p %PASS%
GOTO start
JK's nVidia zPool Miner Batch Lite V0.1.0
,neoscrypt=0.651
,decred=1.7
,skein=293.0
,blake2s=1.2
,c11=8.3
,groestl=24.5
,quark=11.5
,blakecoin=1.4
V1.06
I have disabled many algos and commented their normalizations at the bottom. Follow instructions from 1.05 to set up if just starting off. I am removing this feature from future versions, please do not run as administrator and it will run and just return an error code but continue as normal.
Notice to disable an algo; see how I used the REM command; that effectively just comments that line. From there I removed the algo from the password string and pasted it to the bottom of the batch.
Knowing this, it is easy to add the algos back in. Just look for the "SET" pointer name near the top to see which one it is.
@echo off
SETLOCAL EnableExtensions
SET ADDY=1PHSDYvVp6HpqtuUPocK41DrdeHbbezaeP
SET VIDEO=3505,1443
SET A=ccminer180.exe
SET B=ccminerx11e.exe
SET C=ccminerlyra2.exe
SET D=ccminerNS.exe
SET E=ccminerlbry.exe
SET ID=JKi,
SET POOL=stratum+tcp://mine.zpool.ca
SET COUNTER=0
SET CURRENT=NONE
SET A01=x13
SET A02=x11
SET A03=qubit
SET A04=x15
SET A05=lyra2v2
SET A06=neoscrypt
SET A07=decred
SET A08=blakecoin
SET A09=c11
SET A10=quark
SET A11=groestl
SET A12=blake2s
SET A13=x14
SET A14=x17
SET A15=nist5
SET A16=skein
SET A17=sib
SET B01=x11evo
SET E01=lbry
COLOR 0A
:start
c:\progra~1\nvidia~1\NVSMI\nvidia-smi.exe -ac %VIDEO%
SET /A COUNTER=%COUNTER%+1
SET PASS=%ID%c=BTC,x17=5.2,nist5=8.0,x11evo=7.7,sib=1.1,x13=6.8,x14=7.0,x15=5.6,x11=8.2,qubit=12.5,lyra2v2=22.0,blakecoin=1.4,blake2s=1.2,stats
ECHO Starting miner processes....
start "%A01%" /min %A% -r 0 -a %A01% -i 17.5 -o %POOL%:3633 -u %ADDY% -p %PASS%
start "%A02%" /min %A% -r 0 -a %A02% -i 17.5 -o %POOL%:3533 -u %ADDY% -p %PASS%
start "%A03%" /min %A% -r 0 -a %A03% -i 17.2 -o %POOL%:4733 -u %ADDY% -p %PASS%
start "%A04%" /min %A% -r 0 -a %A04% -i 17.5 -o %POOL%:3733 -u %ADDY% -p %PASS%
start "%A05%" /min %C% -r 0 -a %A05% -i 17.2 -o %POOL%:4533 -u %ADDY% -p %PASS%
REM start "%A06%" /min %D% -r 0 -a %A06% -i 15.0 -o %POOL%:4233 -u %ADDY% -p %PASS%
REM start "%A07%" /min %A% -r 0 -a %A07% -i 23.0 -o %POOL%:5744 -u %ADDY% -p %PASS%
start "%A08%" /min %A% -r 0 -a %A08% -i 26.0 -o %POOL%:5743 -u %ADDY% -p %PASS%
REM start "%A09%" /min %A% -r 0 -a %A09% -i 17.5 -o %POOL%:3573 -u %ADDY% -p %PASS%
REM start "%A10%" /min %A% -r 0 -a %A10% -i 17.5 -o %POOL%:4033 -u %ADDY% -p %PASS%
REM start "%A11%" /min %A% -r 0 -a %A11% -i 17.0 -o %POOL%:5333 -u %ADDY% -p %PASS%
start "%A12%" /min %A% -r 0 -a %A12% -i 22.0 -o %POOL%:5766 -u %ADDY% -p %PASS%
start "%A13%" /min %A% -r 0 -a %A13% -i 19.0 -o %POOL%:3933 -u %ADDY% -p %PASS%
start "%A14%" /min %A% -r 0 -a %A14% -i 17.0 -o %POOL%:3737 -u %ADDY% -p %PASS%
start "%A15%" /min %A% -r 0 -a %A15% -i 17.5 -o %POOL%:3833 -u %ADDY% -p %PASS%
REM start "%A16%" /min %A% -r 0 -a %A16% -o %POOL%:4933 -u %ADDY% -p %PASS%
start "%A17%" /min %A% -r 0 -a %A17% -i 15.0 -o %POOL%:5033 -u %ADDY% -p %PASS%
start "%B01%" /min %B% -r 0 -a %B01% -i 17.0 -o %POOL%:3553 -u %ADDY% -p %PASS%
REM start "%E01%" /min %E% -r 0 -a %E01% -i 17.0 -o %POOL%:3334 -u %ADDY% -p %PASS%
ECHO Miner processes started. Waiting for connections to resolve.
ECHO Don't be tempted, don't press any key to continue, let it work ...
TIMEOUT 20
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A01%"') DO IF %%x == %A% SET CURRENT=%A01%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A02%"') DO IF %%x == %A% SET CURRENT=%A02%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A03%"') DO IF %%x == %A% SET CURRENT=%A03%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A04%"') DO IF %%x == %A% SET CURRENT=%A04%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %C%" /FI "WINDOWTITLE eq %A05%"') DO IF %%x == %C% SET CURRENT=%A05%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %D%" /FI "WINDOWTITLE eq %A06%"') DO IF %%x == %D% SET CURRENT=%A06%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A07%"') DO IF %%x == %A% SET CURRENT=%A07%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A08%"') DO IF %%x == %A% SET CURRENT=%A08%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A09%"') DO IF %%x == %A% SET CURRENT=%A09%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A10%"') DO IF %%x == %A% SET CURRENT=%A10%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A11%"') DO IF %%x == %A% SET CURRENT=%A11%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A12%"') DO IF %%x == %A% SET CURRENT=%A12%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A13%"') DO IF %%x == %A% SET CURRENT=%A13%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A14%"') DO IF %%x == %A% SET CURRENT=%A14%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A15%"') DO IF %%x == %A% SET CURRENT=%A15%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A16%"') DO IF %%x == %A% SET CURRENT=%A16%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A17%"') DO IF %%x == %A% SET CURRENT=%A17%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %B%" /FI "WINDOWTITLE eq %B01%"') DO IF %%x == %B% SET CURRENT=%B01%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %E%" /FI "WINDOWTITLE eq %E01%"') DO IF %%x == %E% SET CURRENT=%E01%
ECHO Currently mining: %CURRENT%
ECHO Total number of algo switches: %COUNTER%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %A% ECHO Waiting for %A% to close...
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %B%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %B% ECHO Waiting for %B% to close...
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %C%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %C% ECHO Waiting for %C% to close...
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %D%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %D% ECHO Waiting for %D% to close...
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %E%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %E% ECHO Waiting for %E% to close...
:END1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %A% goto END1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %B%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %B% goto END1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %C%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %C% goto END1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %D%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %D% goto END1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %E%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %E% goto END1
SET CURRENT=NONE
cls
GOTO start
JK's nVidia zPool Miner Batch V1.06
,neoscrypt=0.651
,decred=1.7
,skein=293.0
,lbry=157.0
,c11=8.3
,groestl=24.5
,quark=11.5
V1.05
Special Instructions:
First things first Find your video card settings for forcing P-state on your video card, and then put them in the "SET VIDEO=3505,1443" line replacing my numbers.
Second, open a command prompt window and type "path" and hit enter. You should see a line similar to my line "PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;%PTH%". Copy your path line over so that its replacing mine, but be sure to add the %PTH% after.
Now, put your miner apps and the batch file into a folder in the root directory as I have defined in the batch, or modify it... but I suggest to keep it simple for now.
When you run the batch, run it as administrator to enable to forcing p-state function.... otherwise, it wont have permissions to force P state. This is a limitation of the NVPSMI utility.
If people don't like this feature; I will disable it.. but for me... it helps keep the card from getting locked into p2/5/8 states.
Timer is left for now... but as you can see.. its not accurate. It's a hack job for sure.. just eats up wait cycles as well as starts and stops an extra thread per cycle (second).
@echo off
SETLOCAL EnableExtensions
SET PTH=c:\zPool.ca\;
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;%PTH%
SET ADDY=1PHSDYvVp6HpqtuUPocK41DrdeHbbezaeP
SET VIDEO=3505,1443
SET A=ccminer180.exe
SET B=ccminerx11evo.exe
SET C=ccminerlyra2.exe
SET D=ccminerNS.exe
SET ID=JKi,
SET POOL=stratum+tcp://mine.zpool.ca
SET COUNTER=0
SET CURRENT=NONE
SET A01=x13
SET A02=x11
SET A03=qubit
SET A04=x15
SET A05=lyra2v2
SET A06=neoscrypt
SET A07=decred
SET A08=blakecoin
SET A09=c11
SET A10=quark
SET A11=groestl
SET A12=blake2s
SET A13=x14
SET A14=x17
SET A15=nist5
SET A16=skein
SET A17=sib
SET B01=x11evo
COLOR 0A
:start
start c:\progra~1\nvidia~1\NVSMI\nvidia-smi.exe -ac %VIDEO%
SET /A COUNTER=%COUNTER%+1
SET CCS=0
SET CCM=0
SET CCH=0
SET PASS=%ID%c=BTC,x17=5.2,nist5=8.0,x11evo=7.7,sib=1.1,decred=1.7,x13=6.8,x14=7.0,x15=5.6,x11=8.2,qubit=12.5,lyra2v2=22.0,neoscrypt=0.651,blakecoin=1.4,c11=8.3,quark=11.5,groestl=24.5,blake2s=1.2,stats
ECHO Starting miner processes....
start "%A01%" /min %A% -r 0 -a %A01% -i 17.5 -o %POOL%:3633 -u %ADDY% -p %PASS%
start "%A02%" /min %A% -r 0 -a %A02% -i 17.5 -o %POOL%:3533 -u %ADDY% -p %PASS%
start "%A03%" /min %A% -r 0 -a %A03% -i 17.2 -o %POOL%:4733 -u %ADDY% -p %PASS%
start "%A04%" /min %A% -r 0 -a %A04% -i 17.5 -o %POOL%:3733 -u %ADDY% -p %PASS%
start "%A05%" /min %C% -r 0 -a %A05% -i 17.2 -o %POOL%:4533 -u %ADDY% -p %PASS%
start "%A06%" /min %D% -r 0 -a %A06% -i 16.0 -o %POOL%:4233 -u %ADDY% -p %PASS%
start "%A07%" /min %A% -r 0 -a %A07% -i 23.0 -o %POOL%:5744 -u %ADDY% -p %PASS%
start "%A08%" /min %A% -r 0 -a %A08% -i 26.0 -o %POOL%:5743 -u %ADDY% -p %PASS%
start "%A09%" /min %A% -r 0 -a %A09% -i 17.5 -o %POOL%:3573 -u %ADDY% -p %PASS%
start "%A10%" /min %A% -r 0 -a %A10% -i 17.5 -o %POOL%:4033 -u %ADDY% -p %PASS%
start "%A11%" /min %A% -r 0 -a %A11% -i 17.0 -o %POOL%:5333 -u %ADDY% -p %PASS%
start "%A12%" /min %A% -r 0 -a %A12% -i 22.0 -o %POOL%:5766 -u %ADDY% -p %PASS%
start "%A13%" /min %A% -r 0 -a %A13% -i 19.0 -o %POOL%:3933 -u %ADDY% -p %PASS%
start "%A14%" /min %A% -r 0 -a %A14% -i 17.0 -o %POOL%:3737 -u %ADDY% -p %PASS%
start "%A15%" /min %A% -r 0 -a %A15% -i 17.5 -o %POOL%:3833 -u %ADDY% -p %PASS%
start "%A17%" /min %A% -r 0 -a %A17% -i 15.0 -o %POOL%:5033 -u %ADDY% -p %PASS%
start "%B01%" /min %B% -r 0 -a %B01% -i 17.0 -o %POOL%:3553 -u %ADDY% -p %PASS%
CHOICE /c · /n /t 20 /d ·
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A01%"') DO IF %%x == %A% SET CURRENT=%A01%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A02%"') DO IF %%x == %A% SET CURRENT=%A02%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A03%"') DO IF %%x == %A% SET CURRENT=%A03%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A04%"') DO IF %%x == %A% SET CURRENT=%A04%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %C%" /FI "WINDOWTITLE eq %A05%"') DO IF %%x == %C% SET CURRENT=%A05%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %D%" /FI "WINDOWTITLE eq %A06%"') DO IF %%x == %D% SET CURRENT=%A06%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A07%"') DO IF %%x == %A% SET CURRENT=%A07%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A08%"') DO IF %%x == %A% SET CURRENT=%A08%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A09%"') DO IF %%x == %A% SET CURRENT=%A09%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A10%"') DO IF %%x == %A% SET CURRENT=%A10%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A11%"') DO IF %%x == %A% SET CURRENT=%A11%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A12%"') DO IF %%x == %A% SET CURRENT=%A12%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A13%"') DO IF %%x == %A% SET CURRENT=%A13%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A14%"') DO IF %%x == %A% SET CURRENT=%A14%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A15%"') DO IF %%x == %A% SET CURRENT=%A15%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A16%"') DO IF %%x == %A% SET CURRENT=%A16%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A17%"') DO IF %%x == %A% SET CURRENT=%A17%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %B%" /FI "WINDOWTITLE eq %B01%"') DO IF %%x == %B% SET CURRENT=%B01%
:wait1
CHOICE /c · /n /t 1 /d ·
CLS
ECHO -------------------------------------------------------------------------------
ECHO Currently mining: %CURRENT%
ECHO Time spent on current algo: %CCH%h %CCM%m %CCS%s
ECHO Total number of algo switches: %COUNTER%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %A% ECHO Waiting for %A% to close...
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %B%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %B% ECHO Waiting for %B% to close...
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %C%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %C% ECHO Waiting for %C% to close...
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %D%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %D% ECHO Waiting for %D% to close...
SET /A CCS=%CCS%+1
IF %CCS% == 60 GOTO MIN1
GOTO HRCHK1
:MIN1
SET /A CCM=%CCM%+1
SET /A CCS=0
:HRCHK1
IF %CCM% == 60 GOTO HOUR1
GOTO END1
:HOUR1
SET /A CCH=%CCH%+1
SET /A CCM=0
:END1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %A% goto wait1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %B%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %B% goto wait1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %C%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %C% goto wait1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %D%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %D% goto wait1
SET CURRENT=NONE
GOTO start
JK's nVidia zPool Miner Batch V1.05
start "%A16%" /min %A% -r 0 -a %A16% -o %POOL%:4933 -u %ADDY% -p %PASS%
,skein=293.0
V1.03
@echo off
SETLOCAL EnableExtensions
SET ADDY=1PHSDYvVp6HpqtuUPocK41DrdeHbbezaeP
SET A=ccminer180.exe
SET B=ccminerx11evo.exe
SET ID=JKi,
SET POOL=stratum+tcp://mine.zpool.ca
SET COUNTER=0
SET CURRENT=NONE
SET A1=x13
SET A2=x11
SET A3=qubit
SET A4=x15
SET A5=lyra2v2
SET A6=neoscrypt
SET A7=decred
SET A8=blakecoin
SET A9=c11
SET A10=quark
SET A11=groestl
SET A12=blake2s
SET A13=x14
SET A14=x17
SET A15=nist5
SET A16=skein
SET A17=sib
SET B1=x11evo
:start
SET /A COUNTER=%COUNTER%+1
SET CCS=0
SET CCM=0
SET CCH=0
SET PASS=%ID%c=BTC,x11=8.2,x13=6.8,qubit=12.5,x15=5.6,lyra2v2=9.6,neoscrypt=0.378,decred=1.7,blakecoin=1.4,c11=8.8,quark=11.5,groestl=24.5,blake2s=1.2,x14=7.0,x17=5.2,nist5=8.0,x11evo=8.2,skein=293.0,sib=1.1,stats
CLS
COLOR 0F
ECHO Starting miner apps....
start "%A1%" /min %A% -r 0 -a %A1% -i 17.5 -o %POOL%:3633 -u %ADDY% -p %PASS%,d=0.004
start "%A2%" /min %A% -r 0 -a %A2% -i 17.5 -o %POOL%:3533 -u %ADDY% -p %PASS%,d=0.002
start "%A3%" /min %A% -r 0 -a %A3% -i 17.2 -o %POOL%:4733 -u %ADDY% -p %PASS%,d=0.004
start "%A4%" /min %A% -r 0 -a %A4% -i 17.5 -o %POOL%:3733 -u %ADDY% -p %PASS%,d=0.01
start "%A5%" /min %A% -r 0 -a %A5% -i 17.2 -o %POOL%:4533 -u %ADDY% -p %PASS%,d=1
start "%A6%" /min %A% -r 0 -a %A6% -i 16 -o %POOL%:4233 -u %ADDY% -p %PASS%
start "%A7%" /min %A% -r 0 -a %A7% -i 23 -o %POOL%:5744 -u %ADDY% -p %PASS%,d=0.5
start "%A8%" /min %A% -r 0 -a %A8% -o %POOL%:5743 -u %ADDY% -p %PASS%
start "%A9%" /min %A% -r 0 -a %A9% -i 19.5 -o %POOL%:3573 -u %ADDY% -p %PASS%
start "%A10%" /min %A% -r 0 -a %A10% -i 17.5 -o %POOL%:4033 -u %ADDY% -p %PASS%
start "%A11%" /min %A% -r 0 -a %A11% -o %POOL%:5333 -u %ADDY% -p %PASS%
start "%A12%" /min %A% -r 0 -a %A12% -i 22 -o %POOL%:5766 -u %ADDY% -p %PASS%,d=0.4
start "%A13%" /min %A% -r 0 -a %A13% -o %POOL%:3933 -u %ADDY% -p %PASS%
start "%A14%" /min %A% -r 0 -a %A14% -i 17.5 -o %POOL%:3737 -u %ADDY% -p %PASS%
start "%A15%" /min %A% -r 0 -a %A15% -i 17.5 -o %POOL%:3833 -u %ADDY% -p %PASS%
start "%A16%" /min %A% -r 0 -a %A16% -o %POOL%:4933 -u %ADDY% -p %PASS%
start "%A17%" /min %A% -r 0 -a %A17% -i 15 -o %POOL%:5033 -u %ADDY% -p %PASS%
start "%B1%" /min %B% -r 0 -a %B1% -o %POOL%:3553 -u %ADDY% -p neoscrypt=0.378,x14=7.0,x15=5.6,x17=5.2,nist5=8.0,x11evo=8.2,blake2s=1.2,skein=293.0,sib=1.1,c11=8.8,stats
CHOICE /c · /n /t 20 /d ·
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A1%"') DO IF %%x == %A% SET CURRENT=%A1%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A2%"') DO IF %%x == %A% SET CURRENT=%A2%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A3%"') DO IF %%x == %A% SET CURRENT=%A3%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A4%"') DO IF %%x == %A% SET CURRENT=%A4%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A5%"') DO IF %%x == %A% SET CURRENT=%A5%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A6%"') DO IF %%x == %A% SET CURRENT=%A6%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A7%"') DO IF %%x == %A% SET CURRENT=%A7%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A8%"') DO IF %%x == %A% SET CURRENT=%A8%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A9%"') DO IF %%x == %A% SET CURRENT=%A9%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A10%"') DO IF %%x == %A% SET CURRENT=%A10%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A11%"') DO IF %%x == %A% SET CURRENT=%A11%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A12%"') DO IF %%x == %A% SET CURRENT=%A12%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A13%"') DO IF %%x == %A% SET CURRENT=%A13%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A14%"') DO IF %%x == %A% SET CURRENT=%A14%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A15%"') DO IF %%x == %A% SET CURRENT=%A15%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A16%"') DO IF %%x == %A% SET CURRENT=%A16%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A17%"') DO IF %%x == %A% SET CURRENT=%A17%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %B%" /FI "WINDOWTITLE eq %B1%"') DO IF %%x == %B% SET CURRENT=%B1%
COLOR 0A
:wait1
CHOICE /c · /n /t 1 /d ·
CLS
ECHO -------------------------------------------------------------------------------
ECHO Currently mining: %CURRENT%
ECHO Time spent on current algo: %CCH%h %CCM%m %CCS%s
ECHO Total number of algo switches: %COUNTER%
ECHO Waiting for %A% to close...
SET /A CCS=%CCS%+1
IF %CCS% == 60 GOTO MIN1
GOTO HRCHK1
:MIN1
SET /A CCM=%CCM%+1
SET /A CCS=0
:HRCHK1
IF %CCM% == 60 GOTO HOUR1
GOTO END1
:HOUR1
SET /A CCH=%CCH%+1
SET /A CCM=0
:END1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%"') DO IF %%x == %A% goto wait1
:wait2
CHOICE /c · /n /t 1 /d ·
CLS
ECHO ---------------------------------------------------------------------------------
ECHO Currently mining: %CURRENT%
ECHO Time spent on current algo: %CCH%h %CCM%m %CCS%s
ECHO Total number of algo switches: %COUNTER%
ECHO Waiting for %B% to close...
SET /A CCS=%CCS%+1
IF %CCS% == 60 GOTO MIN2
GOTO HRCHK2
:MIN2
SET /A CCM=%CCM%+1
SET /A CCS=0
:HRCHK2
IF %CCM% == 60 GOTO HOUR2
GOTO END2
:HOUR2
SET /A CCH=%CCH%+1
SET /A CCM=0
:END2
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %B%"') DO IF %%x == %B% goto wait2
SET CURRENT=NONE
GOTO start
JK's nVidia zPool Miner Batch V1.03