home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / batch / library / el / test.bat < prev   
DOS Batch File  |  1990-08-29  |  176b  |  13 lines

  1. @echo off
  2. echo Testing call to %1, param %2
  3. %1 %2
  4. echo Errorlvl = %errorlevel
  5. if errorlevel %2 goto Okay
  6. :ng
  7. echo Set failed
  8. goto wrap
  9. :Okay
  10. echo Set worked
  11. :wrap
  12.  
  13.