sample.bat.txt 386 B

12345678910111213
  1. rem *******Begin Comment**************
  2. rem This program starts the superapp batch program on the network,
  3. rem directs the output to a file, and displays the file
  4. rem in Notepad.
  5. rem *******End Comment**************
  6. @echo off
  7. if exist C:\output.txt goto EMPTYEXISTS
  8. setlocal
  9. path=g:\programs\superapp;%path%
  10. call superapp>C:\output.txt
  11. endlocal
  12. :EMPTYEXISTS
  13. start notepad c:\output.txt