Ticket #3162: mytest.bat

File mytest.bat, 150 bytes (added by PTim, 9 years ago)

Sample batch file that Exit1.au3 calls via RunWait

Line 
1@Echo off
2
3set myerr=1
4if not exist file.exe goto myexit
5echo %myerr%
6exit /b %myerr%
7
8:myexit
9
10set myerr=99
11
12echo %myerr%
13exit /b %myerr%