home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 19 / CD_ASCQ_19_010295.iso / vrac / addhlp.zip / DEMO.BAT < prev    next >
DOS Batch File  |  1994-09-03  |  531b  |  27 lines

  1. @echo off
  2. if "%1"=="/?" goto HELP
  3. rem Put batch file commands here!
  4. echo.
  5. echo.
  6. echo Hello World!
  7. echo.
  8. echo.
  9. echo I'm just a simple batch file show...
  10. echo.
  11. echo          but try me with a /? on my command line!
  12. echo.
  13. echo.
  14. echo.
  15. pause
  16. rem End of batch file commands
  17. goto END
  18. :HELP
  19. rem Put echo commands for help message here
  20. echo.
  21. echo %0.BAT
  22. echo    Demonstrates use of /? help switch in a batch file.
  23. echo    Syntax: %0    (runs main batch code)
  24. echo            %0 /?    (displays help message)
  25. echo.
  26. :END
  27.