Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :: Script by cevoj
- @echo off
- setlocal enabledelayedexpansion
- mode 80,10&color 0a
- for /f "tokens=2 delims=," %%I in (
- 'wmic process where "name='WinRAR.exe'" get ExecutablePath^,Handle /format:csv 2^>nul ^| find /i "WinRAR.exe"'
- ) do set "rarpath=%%~dpI"
- (
- tasklist | findstr WinRAR >nul && (
- echo;Open WinRAR path: "%rarpath%" &cd "%rarpath%")
- taskkill /f /im WinRAR.exe 1>nul
- ) 2>nul || (
- cd "%programfiles%\WinRAR" && echo Using default path: "!cd!"
- ) 2>nul || (
- color 04&echo;WinRAR path not found. Please open WinRAR and relaunch %~nx0.
- call :break & exit 1)
- set n=^&echo ^^
- (
- echo;WinRar%n%
- HackedLicence%n%
- HackedLicence%n%
- UID=174e5a9c1efd1f34bb7b%n%
- 6412212250bb7bb361b60d01b362daae8ce1bdb9fdbd8411c100f5%n%
- 18d13483b19cdbf2b8f9604ee3aface371450c71dd27f60e273a7e%n%
- a21631e8ac2ab2d0f9bd7b1297ead86918f7a3b70f2767bcaee527%n%
- 24457284303a7e06287a0612104626f97e60d97671def41bd7488a%n%
- aa7c7b7fe6d1e70f7f54849dfceee1e9fd7f193844d86918f7a3b7%n%
- 0f2767bd422f5e86d33240f94fe00d5f72a8b1184ed9b38860a275%n%
- ea75ac5769bdd0c479f627663c97b2ad7a1a1c1a95d42042001314
- ) > rarreg.key
- echo;SUCCESS: Patch complete. You may now exit.
- :break
- timeout /t 5 /nobreak
Advertisement