SHARE
TWEET

NBA 2K19 Random Mods

a guest Feb 6th, 2019 235 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 "STARTING FOLDER"
  5. rem Create an array with all folders
  6. set i=0
  7. for /D %%a in (*) do (
  8.    set /A i+=1
  9.    set folder[!i!]=%%a
  10. )
  11. rem Randomly select one folder
  12. set /A index=(%random%*i)/32768 + 1
  13. rem Copy the desired files
  14. copy "!folder[%index%]!\" "TARGET FOLDER" /Y
  15. rem And return to original directory
  16. popd
  17.  
  18. START steam://rungameid/841370
  19. 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