daily pastebin goal
47%
SHARE
TWEET

NBA 2K19 Random Mods

a guest Feb 8th, 2019 89 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. setlocal EnableDelayedExpansion
  3. rem Enter into the directory that contain the folders
  4. pushd "edit here the location of the 2k19 Presentation Chosen Directory"
  5. rem Create an array with all folders
  6.  
  7.  
  8.  
  9. set i=0
  10. for /D %%a in (*) do (
  11.    set /A i+=1
  12.    set folder[!i!]=%%a
  13. )
  14. @echo off
  15. echo !i! presentation folders in Chosen Directory
  16. pause
  17. rem Randomly select one folder
  18. set /A index=%random% %% i + 1
  19. rem Copy the desired files
  20.  
  21.  
  22. echo Presentation Folder Number %index% was selected
  23. pause
  24.  
  25. copy "!folder[%index%]!\" "edit here the location of the 2k19 modded folder directory" /Y
  26. rem And return to original directory
  27. popd
  28. pause
  29. START steam://rungameid/841370
  30. endlocal
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top