home *** CD-ROM | disk | FTP | other *** search
/ PC User 2001 August / APC_Aug2001_CD2.iso / features / devtools / files / lb202win.exe / LB202W.EXE / RUNBATCH.BAS < prev    next >
Encoding:
BASIC Source File  |  1996-05-24  |  241 b   |  12 lines

  1.  
  2.     'how to run a DOS batch file from Liberty BASIC
  3.  
  4.     open DefaultDir$+"\test.bat" for output as #1
  5.     print #1, "pause - this is a test"
  6.     print #1, "exit"
  7.     close #1
  8.  
  9.     run "command.com /k "+DefaultDir$+"\test.bat"
  10.  
  11.  
  12.