home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / dbase / btfl132.zip / BTCLONE.BAT < prev    next >
DOS Batch File  |  1992-02-07  |  380b  |  17 lines

  1. echo off
  2. if '%1' == '' goto NO_PARMS
  3. if '%2' == '' goto NO_PARMS
  4. goto OK
  5. :NO_PARMS
  6. echo USAGE: BTCLONE existing_file new_clone_file
  7. goto END
  8. :OK
  9. rem
  10. rem 'C' to choose Clone on opening menu, %1 the Btrieve file, '!' for ENTER,
  11. rem    %2 the New file, '!' for enter, and '###' for ESC's.
  12. rem
  13. echo C%1!%2!### >btclone.txt
  14. btfiler /k:btclone.txt
  15. del btclone.txt
  16. :END
  17.