Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- for /f "tokens=* delims=" %%a in ('wmic os get LocalDateTime /value') do for /f "tokens=* delims=" %%# in ("%%a") do set "%%#"
- set "LocalDateTime=%LocalDateTime:~0,8%"
- ::echo %LocalDateTime%
- :: EXPIRATION DATE ::
- set "EXP_DATE=20181130"
- :::::::::::::::::::::
- if %LocalDateTime% GTR %EXP_DATE% (
- echo this wont work anymore
- exit /b
- )
- START "" "C:\Program Files (x86)\Proxifier\Proxifier.exe"
- timeout /t 5 >NUL
- START "" "E:\Program Files (x86)\Epic
- Games\Launcher\Portal\Binaries\Win64\EpicGamesLauncher.exe"
- timeout /t 65 >NUL
- Taskkill /IM "Proxifier.exe" /F
- Exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement