Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- setlocal EnableDelayedExpansion
- rem Enter into the directory that contain the folders
- pushd "edit here the location of the 2k19 Presentation Chosen Directory"
- rem Create an array with all folders
- set i=0
- for /D %%a in (*) do (
- set /A i+=1
- set folder[!i!]=%%a
- )
- @echo off
- echo !i! presentation folders in Chosen Directory
- pause
- rem Randomly select one folder
- set /A index=%random% %% i + 1
- rem Copy the desired files
- echo Presentation Folder Number %index% was selected
- pause
- copy "!folder[%index%]!\" "edit here the location of the 2k19 modded folder directory" /Y
- rem And return to original directory
- popd
- pause
- START steam://rungameid/841370
- endlocal
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement