for /F "tokens=3" %%* in ('test.exe /c 127.0.0.1 ^| findstr "\<1\>"') do cls & echo 密码错误 & goto :max
I can only check one parameter, and this program has four parameters.
1 Password error
2 Connection timeout
3 Unknown error
4 Close connection
Ask: How should this code be written? It's impossible to run test.exe four times?
Hope to get advice from everyone
[ Last edited by hcosoft on 2011-1-25 at 06:12 ]
