Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I am running the below batch file to try and prompt 3 different .exes to execute.
1 - If test = 1 Then run d:\retech\common\rslsqlexec.exe
2 - If test is even The run d:\retech\gm\bin\gmautoexec.exe
3 - If test is not 1 or is odd Then run d:\retech\gm\bin\gmautoexecmtc.exeWhat I've written so far:
@ECHO OFF
set /p test=ENTER #:
IF %test% equ 1 (d:\retech\common\rslsqlexec.exe) ELSE (IF %test% equ 0 (d:\retech\gm\bin\gmautoexec.exe) ELSE d:\retech\gm\bin\gmautoexecmtc.exe)Thanks

![]() |
user input line-editor
|
Splitting content of env ...
|
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |