How do i to store input in a batch file? -
How do i to store input in a batch file? -
i'm trying create batch file choices. use:
errorlevel or set /p c=choose.. if /i "%c%" equ "1" goto :place1
what can't figure out - how maintain selection input later. if input 32, want store later use, like:
start batchfile32
batchfile same, start batchfile&%choice%
enough. syntax eludes me however.
what have tried? because seems works:
set /p c=choose.. start batchfile%c%
gives output:
choose..32 scheme cannot find file batchfile32.
edit: of course of study not have file named batchfile32
, scheme trying start it. showing variable used correctly.
batch-file
Comments
Post a Comment