.
This commit is contained in:
11
b_power.bat
11
b_power.bat
@ -62,7 +62,7 @@ if "%check_computername%" EQU "RECEPTION4" (
|
|||||||
@REM ) else (
|
@REM ) else (
|
||||||
if [%POWERCFG%] == [0] (
|
if [%POWERCFG%] == [0] (
|
||||||
echo "Reset power profiles"
|
echo "Reset power profiles"
|
||||||
powercfg /change monitor-timeout-ac 0
|
powercfg -restoredefaultschemes
|
||||||
)
|
)
|
||||||
|
|
||||||
if [%POWERCFG%] == [1] (
|
if [%POWERCFG%] == [1] (
|
||||||
@ -74,15 +74,6 @@ if "%check_computername%" EQU "RECEPTION4" (
|
|||||||
powercfg /change standby-timeout-ac 0
|
powercfg /change standby-timeout-ac 0
|
||||||
powercfg /change standby-timeout-dc 0
|
powercfg /change standby-timeout-dc 0
|
||||||
)
|
)
|
||||||
@REM if [%POWERCFG%] == [2] (
|
|
||||||
@REM echo "Installing Zebra"
|
|
||||||
@REM %EXE% -ExecutionPolicy Bypass -File %ZEBRAPS%
|
|
||||||
@REM )
|
|
||||||
@REM if [%POWERCFG%] == [3] (
|
|
||||||
@REM echo "Installing Brother and Zebra"
|
|
||||||
@REM %EXE% -ExecutionPolicy Bypass -File %BROTHERPS%
|
|
||||||
@REM %EXE% -ExecutionPolicy Bypass -File %ZEBRAPS%
|
|
||||||
@REM )
|
|
||||||
@REM )
|
@REM )
|
||||||
|
|
||||||
echo "FINISHED: %~n0"
|
echo "FINISHED: %~n0"
|
||||||
Reference in New Issue
Block a user