Last active
June 19, 2018 14:58
-
-
Save Bluscream/4d4bc476c7cd76ae62f3c2d4a150028d to your computer and use it in GitHub Desktop.
Autostart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
setlocal enableDelayedExpansion | |
for /l %%N in (600 -1 1) do ( | |
set /a "min=%%N/60, sec=%%N%%60, n-=1" | |
if !sec! lss 10 set sec=0!sec! | |
cls | |
choice /c:CN1 /n /m "HIBERNATE in !min!:!sec! - Press N to hibernate Now, or C to Cancel. " /t:1 /d:1 | |
if not errorlevel 3 goto :break | |
) | |
cls | |
echo HIBERNATE in 0:00 - Press N to hibernate Now, or C to Cancel. | |
:break | |
if errorlevel 2 (%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Hibernate) else echo Hibernate Canceled |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
dccmd.exe -monitor="\\.\DISPLAY1" -width=max -height=max -refresh=max -depth=max -rotate=up -right -secondary -more -force | |
dccmd.exe -monitor="\\.\DISPLAY2" -width=max -height=max -refresh=max -depth=max -rotate=up -left -primary -apply -force | |
exit | |
REM https://12noon.com/?page_id=80 | |
dccmd.exe | |
[-width=<width> | max] [-height=<height> | max] | |
[-depth=<bits-color-depth> | max] | |
[-refresh=<refresh-rate> | max] | |
[-fixedoutput=default | stretch | center] | |
[-max] | |
[-detach | -primary | -secondary] | |
[-lx=<left position>] | |
[-ty=<top position>] | |
[-left | -right | -top | -bottom | -above | -below] | |
[-rotate=<left|right|up|down>] (only XP and later) | |
[-interlaced] | |
[-more | -apply | -reset | -test] [-force] [-quiet] | |
[-listmonitors] [-listmodes] [-monitor="NAME"] | |
[<command-line ...>] | |
Monitor: Generic PnP Monitor | |
Device: \\.\DISPLAY1 | |
Adapter: NVIDIA GeForce GT 1030 | |
(1920 x 1200 x 32 bpp) 60Hz default up, attached (1920,-9) | |
Monitor: Generic PnP Monitor | |
Device: \\.\DISPLAY2 | |
Adapter: NVIDIA GeForce GT 1030 | |
(1920 x 1080 x 32 bpp) 60Hz default up, attached, primary (0,0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
C:\Users\blusc\Downloads\steamavatarchange/leysteamavatarchange.exe "C:\Users\blusc\Downloads\steamavatarchange/*.gif" "76561198022446661" "" "" | |
REM "" | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment