Imthedude025

Change file.bak to file.plr W/H GUI (Batch)

Jul 10th, 2018
102
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  2. ::Change file.bak to file.plr ::
  3. ::Created by RU$$ [http://russdev.mooo.com/] ::
  4. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  5. @ECHO OFF
  6. @SETLOCAL
  7. @TITLE Change file.bak to file.plr
  8. @CD C:\Users\%username%\Documents\My Games\Terraria\Players
  9. @GOTO :MAIN
  10.  
  11. :MAIN
  12. cls
  13. echo ::BAK Files In This Directory::
  14. echo.
  15. dir /b /a-d *.bak
  16. echo.
  17.  
  18. Echo Select the save file you wish to convert from. (Must include extension)
  19. Set /p FILE=File Name:
  20.  
  21. If exist %FILE% (GOTO :EXISTS) else (GOTO :ERROR)
  22.  
  23. :EXISTS
  24. cls
  25.  
  26. Echo STATUS: File was found, proceding with conversion.
  27. echo.
  28.  
  29. set efile=%FILE%
  30. set endbit=%efile:*.=%
  31. call set final=%%efile:%endbit%=%%
  32.  
  33. COPY "%FILE%" "%final%plr" /Y
  34. cls
  35. echo The file was changed to %final%plr! Returning..
  36. echo.
  37. pause
  38. GOTO :MAIN
  39.  
  40. :ERROR
  41. cls
  42.  
  43. Echo ERROR: File not found! Returning..
  44. Echo.
  45.  
  46. Pause.
  47. GOTO :MAIN
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×