Advertisement
Guest User

Untitled

a guest
May 18th, 2020
366
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.88 KB | None | 0 0
  1. @ECHO OFF
  2.  
  3. :choice
  4. set /P c=Input version
  5. if /I "%c%" EQU "1.36" goto :play136
  6. if /I "%c%" EQU "1.37" goto :play137
  7. goto :choice
  8.  
  9.  
  10. :play136
  11. IF EXIST "%SteamLibrary%/Euro Truck Simulator 2 - 1.36" ren "%SteamLibrary%/Euro Truck Simulator 2" "Euro Truck Simulator 2 - 1.37"
  12. ren "%SteamLibrary%/Euro Truck Simulator 2 - 1.36" "Euro Truck Simulator 2"
  13. echo Succesfully set to 1.36
  14. goto :asklaunch
  15.  
  16. :play137
  17. cd %SteamLibrary%
  18. IF EXIST "%SteamLibrary%/Euro Truck Simulator 2 - 1.37" ren "%SteamLibrary%/Euro Truck Simulator 2" "Euro Truck Simulator 2 - 1.36"
  19. ren "%SteamLibrary%/Euro Truck Simulator 2 - 1.37" "Euro Truck Simulator 2"
  20. echo Succesfully set to 1.37
  21. goto :asklaunch
  22.  
  23.  
  24. :asklaunch
  25. set /P c=Do you wish to launch the game?[Y/N]?
  26. if /I "%c%" EQU "Y" goto :launchgame
  27. if /I "%c%" EQU "N" exit
  28. goto :asklaunch
  29.  
  30.  
  31. :launchgame
  32. start steam://rungameid/227300
  33. exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement