@echo off setlocal :: Ask whether to repeat number groups set /p repeat="Do you want to repeat number groups (y/N)? " :: Ask whether to use the alt voice set /p altvoice="Do you want to use the alternate voice (y/N)? " :: Initialize flags set flags= :: Check if the user wants to repeat number groups if /i "%repeat%"=="y" ( echo Repeating number groups with the -r flag. set flags=%flags% -r ) else ( echo Not repeating number groups. ) :: Check if the user wants to use the alt voice if /i "%altvoice%"=="y" ( echo Using alternate voice with the -a flag. set flags=%flags% -a ) else ( echo Using default voice. ) :: Run the numberstation.exe with the appropriate flags if defined flags ( numberstation.exe %flags% ) else ( numberstation.exe ) :: Pause before exit pause endlocal