You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
numberstation/winbatch/run-numberstation.bat

37 lines
756 B

@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 losam voice
set /p lowvoice="Do you want to use the low 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 low voice
if /i "%lowvoice%"=="y" (
echo Using low voice with the -l flag.
set flags=%flags% -l
) else (
echo Using default voice.
)
:: Run the numberstation.exe with the appropriate flags
numberstation.exe %flags%
:: Pause before exit
pause
endlocal