Search found 1 match

by brainuee
08 Jul 2013 10:51
Forum: DOS Batch Forum
Topic: set /p not working perhaps
Replies: 1
Views: 2926

set /p not working perhaps

setLocal EnableDelayedExpansion for /f "tokens=* delims= " %%a in (temp.txt) do ( set /a k+=1 set N[!k!]=%%a ) rem set N rem if '%N[1]%'=='' set N1=%N[1]% set N1=%N[1]% set N2=%N[2]% set N3=%N[3]% set N4=%N[4]% pause rem endlocal if "%N1%"=="" set /p M1 = "give fir...