Search found 1 match
- 05 Jan 2012 06:14
- Forum: DOS Batch Forum
- Topic: IF STATEMENT DOESNT RUN
- Replies: 3
- Views: 4961
IF STATEMENT DOESNT RUN
I Have a problem with the if statement, it automatically ends the code... thx for help @echo off color A :n echo Program Name: set /p a= set /a X=0 echo echo Please write your program here: :run set /a X=%X%+1 set /p li=%X% (%li%)>>%a%.bat if /i "%li%" EQU "exit"(goto :exit) got...