BatchHacker

Minecraft Launcher_Profiles Checker [Batch]

Jun 16th, 2014
507
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. REM ORIGINAL SCRIPT # Part of the MUL (Minecraft Universal Launcher)
  3. REM (c) Copyright 2014-2018 _chunk__ | BatchHacker @ Pastebin.com/u/BatchHacker
  4. if not exist "%1" goto 1803
  5. set varx=%1
  6. set varx=%varx:"=%
  7. set string1="%varx%"
  8. for %%c in (%string1%) do set string1=%%~dpc
  9. for %%b in (%varx%) do set string2=%%~nxb
  10. set string1=%string1:"=%
  11. cd %string1%
  12. %systemroot%\System32\FINDSTR.exe /C:"displayName" %string2%>vary.txt
  13. if not exist %1 goto 6750
  14. SET /p vary=<vary.txt
  15. del /Q vary.txt
  16. set vary=%vary:~22,100%
  17. set vary=%vary:"=%
  18. if "%vary%"=="~22,100" goto 6750
  19. cls
  20. echo It is a valid JSON file with Player-Informations
  21. pause
  22. exit
  23. :6750
  24. cls
  25. echo It is NOT a valid JSON file with no Player-Informations
  26. pause>>nul
  27. if exist "nul" del /q nul
  28. goto end
  29. :1803
  30. echo Syntax:
  31. echo         CJSON ^<JSON File^>
  32. echo You can also drag and drop the file on the batch.
  33. echo.
  34. pause>>nul
  35. if exist "nul" del /q nul
  36. :end
Advertisement
Add Comment
Please, Sign In to add comment