Advertisement
Ghostyyy

unl a3

May 2nd, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. @echo off
  2. Setlocal
  3.  
  4. REM -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  5. REM File: unlock.bat
  6. REM Version: V1.3
  7. REM Author: Kamaradski 2014
  8. REM Contributers: none
  9. REM
  10. REM Arma3 file unlocker script written for Ahoyworld.co.uk
  11. REM
  12. REM -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  13.  
  14.  
  15.  
  16. REM =-=-=-=-=-=-=-=-=-=-=-=-=-=- CONFIGURATION -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  17. REM PATHHANDLE = Your path to handle.exe, leave empty if it can be found in the system %PATH%
  18. REM EXTLOOP = The file-extension of the files you like to unblock (without * or .)
  19.  
  20. set PATHHANDLE=F:\Games\Arma3\A3Master\
  21. set EXTLOOP=cfg
  22.  
  23. REM =-=-=-=-=-=-=-=-=-=-=-=-=- DO NOT EDIT BELOW HERE -=-=-=-=-=-=-=-=-=-=-=-=-=-
  24.  
  25. for /f "eol=: delims=" %%F in ('dir /b /o-d "%~dp0\*.%EXTLOOP%"') do (
  26. cls
  27. echo.
  28. echo =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  29. echo AhoyWorld.co.uk - File Unlocker by Kamaradski
  30. echo =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  31. echo.
  32. echo Unlocking file:
  33. echo.
  34. echo "%~dp0\%%F"
  35. echo.
  36. @ping 127.0.0.1 -n 2 -w 1000 > nul
  37.  
  38.  
  39. for /F "tokens=3,6 delims=: " %%I IN ('"%PATHHANDLE%\handle.exe %%F"') DO "%PATHHANDLE%\handle.exe" -c %%J -y -p %%I
  40. )
  41. )
  42. exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement