home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / pascal / shdk_1.zip / CMDLTEST.BAT < prev    next >
DOS Batch File  |  1992-03-24  |  1KB  |  19 lines

  1. echo off
  2. if not [%1] == [] goto redirect
  3. testcmdl a:'14.26';b=17/30:'thirty' -c:'40a ;d=This is a packable arg.
  4. testcmdl a: 14.26 ;b=17/30:'thirty' -c:'40a';d='This is a non-packable arg.'
  5. testcmdl a:'14.26';b=17/30:'thirty' -c: 40a ;d=This is a packable arg.
  6. testcmdl a: 14.26 ;b=17/30:'thi"rty'-c: 40a";d='This is a non-packable arg.'
  7. testcmdl a:'14.26';b=17/30:'thi"rty'-c: 40a ;d=This is a packable arg.
  8. testcmdl a:'14.26';b=17/30:"thi'rty"-c: 40a ;d='This is a non-packable arg.'
  9.  
  10. if [%1] == [] goto alldone
  11. :redirect
  12. testcmdl a:'14.26';b=17/30:'thirty' -c:'40a ;d=This is a packable arg.        >  %1
  13. testcmdl a: 14.26 ;b=17/30:'thirty' -c:'40a';d='This is a non-packable arg.'  >> %1
  14. testcmdl a:'14.26';b=17/30:'thirty' -c: 40a ;d=This is a packable arg.        >> %1
  15. testcmdl a: 14.26 ;b=17/30:'thi"rty'-c: 40a";d='This is a non-packable arg.'  >> %1
  16. testcmdl a:'14.26';b=17/30:'thi"rty'-c: 40a ;d=This is a packable arg.        >> %1
  17. testcmdl a:'14.26';b=17/30:"thi'rty"-c: 40a ;d='This is a non-packable arg.'  >> %1
  18. :alldone
  19.