Advertisement
Guest User

NBA 2K19 Random Mods

a guest
Feb 8th, 2019
518
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.69 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement