:: Read the first line of version.txt and assign it to the MY_VERSION variable for /f "usebackq delims=" %%i in ("version.txt") do ( set "userInput=%%i" goto :done ) :done "C:\Program Files\7-Zip\7z.exe" a -tzip game.love templates version.txt assets multi\integration\loveManager multi\integration\sharedExtensions multi\init.lua gui menus conf.lua fmt.lua loader.lua main.lua utils.lua yaml.lua rd /s /q "bin\%userInput%" if not exist "bin\%userInput%" mkdir "bin\%userInput%" copy /b love\love.exe + game.love "bin\%userInput%\Jeopardy.exe" copy /b love\love.dll "bin\%userInput%\love.dll" copy /b lovel\lua51.dll "bin\%userInput%\lua51.dll" copy /b love\mpg123.dll "bin\%userInput%\mpg123.dll" copy /b love\msvcp120.dll "bin\%userInput%\msvcp120.dll" copy /b love\msvcr120.dll "bin\%userInput%\msvcr120.dll" copy /b love\OpenAL32.dll "bin\%userInput%\OpenAL32.dll" copy /b love\SDL2.dll "bin\%userInput%\SDL2.dll" copy /b love\license.txt "bin\%userInput%\license.txt"