Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Undertrey authored Apr 25, 2018
1 parent c40b113 commit e4c93e9
Show file tree
Hide file tree
Showing 11 changed files with 112 additions and 12 deletions.
11 changes: 10 additions & 1 deletion Bmnrautorun.bat
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,16 @@ IF DEFINED ocprocessname IF DEFINED ocprocesspath (
ECHO Incorrect path to %ocprocessname%.exe. Default install path required to function. Please reinstall the software using the default path.
SET ocprogram=0
)
IF EXIST "%programfiles(x86)%%ocprocesspath%" IF %firstrun% NEQ 0 IF %restartocprogram% EQU 1 (
IF EXIST "%programfiles(x86)%%ocprocesspath%" IF %firstrun% NEQ 0 IF %restartocprogram% GEQ 1 (
IF %profile% GEQ 1 IF %profile% LEQ 5 IF %ocprogram% EQU 2 (
IF %restartocprogram% GEQ 2 "%programfiles(x86)%%ocprocesspath%%ocprocessname%.exe" -Profile%restartocprogram% >NUL
IF %restartocprogram% EQU 1 (
tskill.exe /A /V %ocprocessname% 2>NUL 1>&2
timeout.exe /T 15 /nobreak >NUL
"%programfiles(x86)%%ocprocesspath%%ocprocessname%.exe" -Defaults >NUL
)
timeout.exe /T 5 /nobreak >NUL
)
tskill.exe /A /V %ocprocessname% 2>NUL 1>&2
CALL :inform "1" "false" "0" "Process %ocprocessname%.exe was successfully killed." "2"
)
Expand Down
14 changes: 12 additions & 2 deletions CCautorun.bat
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,16 @@ IF DEFINED ocprocessname IF DEFINED ocprocesspath (
ECHO Incorrect path to %ocprocessname%.exe. Default install path required to function. Please reinstall the software using the default path.
SET ocprogram=0
)
IF EXIST "%programfiles(x86)%%ocprocesspath%" IF %firstrun% NEQ 0 IF %restartocprogram% EQU 1 (
IF EXIST "%programfiles(x86)%%ocprocesspath%" IF %firstrun% NEQ 0 IF %restartocprogram% GEQ 1 (
IF %profile% GEQ 1 IF %profile% LEQ 5 IF %ocprogram% EQU 2 (
IF %restartocprogram% GEQ 2 "%programfiles(x86)%%ocprocesspath%%ocprocessname%.exe" -Profile%restartocprogram% >NUL
IF %restartocprogram% EQU 1 (
tskill.exe /A /V %ocprocessname% 2>NUL 1>&2
timeout.exe /T 15 /nobreak >NUL
"%programfiles(x86)%%ocprocesspath%%ocprocessname%.exe" -Defaults >NUL
)
timeout.exe /T 5 /nobreak >NUL
)
tskill.exe /A /V %ocprocessname% 2>NUL 1>&2
CALL :inform "1" "false" "0" "Process %ocprocessname%.exe was successfully killed." "2"
)
Expand Down Expand Up @@ -579,7 +588,8 @@ IF %ap% EQU 1 (
)
IF %firstrun% EQU 0 (
timeout.exe /T %cputimeout% /nobreak >NUL
FOR /F "delims=" %%A IN ('findstr.exe /R /C:".*Intensity.*" %log%') DO SET /A gpucount+=1
FOR /F "tokens=3 delims= " %%A IN ('findstr.exe /R /C:".*miner threads started.*" %log%') DO SET /A gpucount=%%A
IF !gpucount! EQU 0 FOR /F "delims=" %%A IN ('findstr.exe /R /C:".*Intensity.*" %log%') DO SET /A gpucount+=1
IF !gpucount! EQU 0 SET gpucount=1
IF %gpus% EQU 0 SET gpus=!gpucount!
)
Expand Down
11 changes: 10 additions & 1 deletion Castautorun.bat
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,16 @@ IF DEFINED ocprocessname IF DEFINED ocprocesspath (
ECHO Incorrect path to %ocprocessname%.exe. Default install path required to function. Please reinstall the software using the default path.
SET ocprogram=0
)
IF EXIST "%programfiles(x86)%%ocprocesspath%" IF %firstrun% NEQ 0 IF %restartocprogram% EQU 1 (
IF EXIST "%programfiles(x86)%%ocprocesspath%" IF %firstrun% NEQ 0 IF %restartocprogram% GEQ 1 (
IF %profile% GEQ 1 IF %profile% LEQ 5 IF %ocprogram% EQU 2 (
IF %restartocprogram% GEQ 2 "%programfiles(x86)%%ocprocesspath%%ocprocessname%.exe" -Profile%restartocprogram% >NUL
IF %restartocprogram% EQU 1 (
tskill.exe /A /V %ocprocessname% 2>NUL 1>&2
timeout.exe /T 15 /nobreak >NUL
"%programfiles(x86)%%ocprocesspath%%ocprocessname%.exe" -Defaults >NUL
)
timeout.exe /T 5 /nobreak >NUL
)
tskill.exe /A /V %ocprocessname% 2>NUL 1>&2
CALL :inform "1" "false" "0" "Process %ocprocessname%.exe was successfully killed." "2"
)
Expand Down
11 changes: 10 additions & 1 deletion ClayETHautorun.bat
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,16 @@ IF DEFINED ocprocessname IF DEFINED ocprocesspath (
ECHO Incorrect path to %ocprocessname%.exe. Default install path required to function. Please reinstall the software using the default path.
SET ocprogram=0
)
IF EXIST "%programfiles(x86)%%ocprocesspath%" IF %firstrun% NEQ 0 IF %restartocprogram% EQU 1 (
IF EXIST "%programfiles(x86)%%ocprocesspath%" IF %firstrun% NEQ 0 IF %restartocprogram% GEQ 1 (
IF %profile% GEQ 1 IF %profile% LEQ 5 IF %ocprogram% EQU 2 (
IF %restartocprogram% GEQ 2 "%programfiles(x86)%%ocprocesspath%%ocprocessname%.exe" -Profile%restartocprogram% >NUL
IF %restartocprogram% EQU 1 (
tskill.exe /A /V %ocprocessname% 2>NUL 1>&2
timeout.exe /T 15 /nobreak >NUL
"%programfiles(x86)%%ocprocesspath%%ocprocessname%.exe" -Defaults >NUL
)
timeout.exe /T 5 /nobreak >NUL
)
tskill.exe /A /V %ocprocessname% 2>NUL 1>&2
CALL :inform "1" "false" "0" "Process %ocprocessname%.exe was successfully killed." "2"
)
Expand Down
11 changes: 10 additions & 1 deletion ClayNSautorun.bat
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,16 @@ IF DEFINED ocprocessname IF DEFINED ocprocesspath (
ECHO Incorrect path to %ocprocessname%.exe. Default install path required to function. Please reinstall the software using the default path.
SET ocprogram=0
)
IF EXIST "%programfiles(x86)%%ocprocesspath%" IF %firstrun% NEQ 0 IF %restartocprogram% EQU 1 (
IF EXIST "%programfiles(x86)%%ocprocesspath%" IF %firstrun% NEQ 0 IF %restartocprogram% GEQ 1 (
IF %profile% GEQ 1 IF %profile% LEQ 5 IF %ocprogram% EQU 2 (
IF %restartocprogram% GEQ 2 "%programfiles(x86)%%ocprocesspath%%ocprocessname%.exe" -Profile%restartocprogram% >NUL
IF %restartocprogram% EQU 1 (
tskill.exe /A /V %ocprocessname% 2>NUL 1>&2
timeout.exe /T 15 /nobreak >NUL
"%programfiles(x86)%%ocprocesspath%%ocprocessname%.exe" -Defaults >NUL
)
timeout.exe /T 5 /nobreak >NUL
)
tskill.exe /A /V %ocprocessname% 2>NUL 1>&2
CALL :inform "1" "false" "0" "Process %ocprocessname%.exe was successfully killed." "2"
)
Expand Down
11 changes: 10 additions & 1 deletion ClayXMRautorun.bat
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,16 @@ IF DEFINED ocprocessname IF DEFINED ocprocesspath (
ECHO Incorrect path to %ocprocessname%.exe. Default install path required to function. Please reinstall the software using the default path.
SET ocprogram=0
)
IF EXIST "%programfiles(x86)%%ocprocesspath%" IF %firstrun% NEQ 0 IF %restartocprogram% EQU 1 (
IF EXIST "%programfiles(x86)%%ocprocesspath%" IF %firstrun% NEQ 0 IF %restartocprogram% GEQ 1 (
IF %profile% GEQ 1 IF %profile% LEQ 5 IF %ocprogram% EQU 2 (
IF %restartocprogram% GEQ 2 "%programfiles(x86)%%ocprocesspath%%ocprocessname%.exe" -Profile%restartocprogram% >NUL
IF %restartocprogram% EQU 1 (
tskill.exe /A /V %ocprocessname% 2>NUL 1>&2
timeout.exe /T 15 /nobreak >NUL
"%programfiles(x86)%%ocprocesspath%%ocprocessname%.exe" -Defaults >NUL
)
timeout.exe /T 5 /nobreak >NUL
)
tskill.exe /A /V %ocprocessname% 2>NUL 1>&2
CALL :inform "1" "false" "0" "Process %ocprocessname%.exe was successfully killed." "2"
)
Expand Down
11 changes: 10 additions & 1 deletion ClayZECautorun.bat
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,16 @@ IF DEFINED ocprocessname IF DEFINED ocprocesspath (
ECHO Incorrect path to %ocprocessname%.exe. Default install path required to function. Please reinstall the software using the default path.
SET ocprogram=0
)
IF EXIST "%programfiles(x86)%%ocprocesspath%" IF %firstrun% NEQ 0 IF %restartocprogram% EQU 1 (
IF EXIST "%programfiles(x86)%%ocprocesspath%" IF %firstrun% NEQ 0 IF %restartocprogram% GEQ 1 (
IF %profile% GEQ 1 IF %profile% LEQ 5 IF %ocprogram% EQU 2 (
IF %restartocprogram% GEQ 2 "%programfiles(x86)%%ocprocesspath%%ocprocessname%.exe" -Profile%restartocprogram% >NUL
IF %restartocprogram% EQU 1 (
tskill.exe /A /V %ocprocessname% 2>NUL 1>&2
timeout.exe /T 15 /nobreak >NUL
"%programfiles(x86)%%ocprocesspath%%ocprocessname%.exe" -Defaults >NUL
)
timeout.exe /T 5 /nobreak >NUL
)
tskill.exe /A /V %ocprocessname% 2>NUL 1>&2
CALL :inform "1" "false" "0" "Process %ocprocessname%.exe was successfully killed." "2"
)
Expand Down
11 changes: 10 additions & 1 deletion Dstmautorun.bat
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,16 @@ IF DEFINED ocprocessname IF DEFINED ocprocesspath (
ECHO Incorrect path to %ocprocessname%.exe. Default install path required to function. Please reinstall the software using the default path.
SET ocprogram=0
)
IF EXIST "%programfiles(x86)%%ocprocesspath%" IF %firstrun% NEQ 0 IF %restartocprogram% EQU 1 (
IF EXIST "%programfiles(x86)%%ocprocesspath%" IF %firstrun% NEQ 0 IF %restartocprogram% GEQ 1 (
IF %profile% GEQ 1 IF %profile% LEQ 5 IF %ocprogram% EQU 2 (
IF %restartocprogram% GEQ 2 "%programfiles(x86)%%ocprocesspath%%ocprocessname%.exe" -Profile%restartocprogram% >NUL
IF %restartocprogram% EQU 1 (
tskill.exe /A /V %ocprocessname% 2>NUL 1>&2
timeout.exe /T 15 /nobreak >NUL
"%programfiles(x86)%%ocprocesspath%%ocprocessname%.exe" -Defaults >NUL
)
timeout.exe /T 5 /nobreak >NUL
)
tskill.exe /A /V %ocprocessname% 2>NUL 1>&2
CALL :inform "1" "false" "0" "Process %ocprocessname%.exe was successfully killed." "2"
)
Expand Down
11 changes: 10 additions & 1 deletion Ethrautorun.bat
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,16 @@ IF DEFINED ocprocessname IF DEFINED ocprocesspath (
ECHO Incorrect path to %ocprocessname%.exe. Default install path required to function. Please reinstall the software using the default path.
SET ocprogram=0
)
IF EXIST "%programfiles(x86)%%ocprocesspath%" IF %firstrun% NEQ 0 IF %restartocprogram% EQU 1 (
IF EXIST "%programfiles(x86)%%ocprocesspath%" IF %firstrun% NEQ 0 IF %restartocprogram% GEQ 1 (
IF %profile% GEQ 1 IF %profile% LEQ 5 IF %ocprogram% EQU 2 (
IF %restartocprogram% GEQ 2 "%programfiles(x86)%%ocprocesspath%%ocprocessname%.exe" -Profile%restartocprogram% >NUL
IF %restartocprogram% EQU 1 (
tskill.exe /A /V %ocprocessname% 2>NUL 1>&2
timeout.exe /T 15 /nobreak >NUL
"%programfiles(x86)%%ocprocesspath%%ocprocessname%.exe" -Defaults >NUL
)
timeout.exe /T 5 /nobreak >NUL
)
tskill.exe /A /V %ocprocessname% 2>NUL 1>&2
CALL :inform "1" "false" "0" "Process %ocprocessname%.exe was successfully killed." "2"
)
Expand Down
11 changes: 10 additions & 1 deletion Ewbfautorun.bat
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,16 @@ IF DEFINED ocprocessname IF DEFINED ocprocesspath (
ECHO Incorrect path to %ocprocessname%.exe. Default install path required to function. Please reinstall the software using the default path.
SET ocprogram=0
)
IF EXIST "%programfiles(x86)%%ocprocesspath%" IF %firstrun% NEQ 0 IF %restartocprogram% EQU 1 (
IF EXIST "%programfiles(x86)%%ocprocesspath%" IF %firstrun% NEQ 0 IF %restartocprogram% GEQ 1 (
IF %profile% GEQ 1 IF %profile% LEQ 5 IF %ocprogram% EQU 2 (
IF %restartocprogram% GEQ 2 "%programfiles(x86)%%ocprocesspath%%ocprocessname%.exe" -Profile%restartocprogram% >NUL
IF %restartocprogram% EQU 1 (
tskill.exe /A /V %ocprocessname% 2>NUL 1>&2
timeout.exe /T 15 /nobreak >NUL
"%programfiles(x86)%%ocprocesspath%%ocprocessname%.exe" -Defaults >NUL
)
timeout.exe /T 5 /nobreak >NUL
)
tskill.exe /A /V %ocprocessname% 2>NUL 1>&2
CALL :inform "1" "false" "0" "Process %ocprocessname%.exe was successfully killed." "2"
)
Expand Down
11 changes: 10 additions & 1 deletion Phnxautorun.bat
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,16 @@ IF DEFINED ocprocessname IF DEFINED ocprocesspath (
ECHO Incorrect path to %ocprocessname%.exe. Default install path required to function. Please reinstall the software using the default path.
SET ocprogram=0
)
IF EXIST "%programfiles(x86)%%ocprocesspath%" IF %firstrun% NEQ 0 IF %restartocprogram% EQU 1 (
IF EXIST "%programfiles(x86)%%ocprocesspath%" IF %firstrun% NEQ 0 IF %restartocprogram% GEQ 1 (
IF %profile% GEQ 1 IF %profile% LEQ 5 IF %ocprogram% EQU 2 (
IF %restartocprogram% GEQ 2 "%programfiles(x86)%%ocprocesspath%%ocprocessname%.exe" -Profile%restartocprogram% >NUL
IF %restartocprogram% EQU 1 (
tskill.exe /A /V %ocprocessname% 2>NUL 1>&2
timeout.exe /T 15 /nobreak >NUL
"%programfiles(x86)%%ocprocesspath%%ocprocessname%.exe" -Defaults >NUL
)
timeout.exe /T 5 /nobreak >NUL
)
tskill.exe /A /V %ocprocessname% 2>NUL 1>&2
CALL :inform "1" "false" "0" "Process %ocprocessname%.exe was successfully killed." "2"
)
Expand Down

0 comments on commit e4c93e9

Please sign in to comment.