home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / busi / rd10a.zip / OUTPUT.BAT < prev    next >
DOS Batch File  |  1990-01-09  |  2KB  |  52 lines

  1. echo off
  2. cls
  3. if %1x==x goto NODRIVE
  4. echo                             OUTPUT to DISKETTE
  5. echo .
  6. echo .
  7. echo Place into drive %1 the diskette that will be used to transfer schedule and
  8. echo worklog data to the main BillPower/TickleX data bases.  Make sure that you
  9. echo have labeled the diskette properly, identifying your machine as the source
  10. echo of the data about to be transferred.  Once the diskette is loaded, you may
  11. pause
  12. echo .
  13. echo .
  14. if not exist pc-sched.lbf goto SKIPSCHED
  15. copy pc-sched.lbf %1:
  16. copy pc-sched.lbi %1:
  17. :SKIPSCHED
  18. if not exist pc-wklog.lbf goto SKIPWORK
  19. copy pc-wklog.lbf %1:
  20. copy pc-wklog.lbi %1:
  21. :SKIPWORK
  22. copy pc-wklog.lbf pc-wklog.baf
  23. copy pc-wklog.lbi pc-wklog.bai
  24. copy pc-sched.lbf pc-sched.baf
  25. copy pc-sched.lbi pc-sched.bai
  26. erase pc-wklog.lb*
  27. delsched x
  28. :NEAREND
  29. cls
  30. echo .
  31. echo .
  32. echo Whatever schedule and worklog data you had on your hard disk has now been
  33. echo transferred to the diskette in drive %1.    Now, take that diskette to the
  34. echo main computer, place it into that machine's drive A, and enter "INPUT A:"
  35. echo at the DOS prompt  (you must be logged into the MANAGEX directory on that
  36. echo machine for this to work).   The data on the diskette will be assimilated
  37. echo into the BillPower/TickleX data bases.
  38. echo .
  39. echo .
  40. goto END
  41. :NODRIVE
  42. cls
  43. echo .
  44. echo You must designate the destination diskette --
  45. echo .
  46. echo example:     OUTPUT A:   will output data to a diskette in drive A.
  47. echo .
  48. echo PLEASE TRY AGAIN
  49. echo .
  50. echo .
  51. :END
  52.