home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / pcboard / 150_tips.zip / MSGS.ZIP / SLOWDRV.MSG < prev    next >
Text File  |  1993-05-12  |  1KB  |  35 lines

  1. Date: 05-12-93 (13:49)              Number: 63357 of 63357 (Refer# NONE)
  2.   To: CHARLES ACUFF
  3. From: DAVID TERRY
  4. Subj: Batch File in 15.0 for Slow Drives
  5. Read: NO                            Status: PUBLIC MESSAGE
  6. Conf: BETA (6)                   Read Type: GENERAL (+)
  7.  
  8. -> I have installed PCB 15.0 and it is working fine. I was wondering about the
  9. -> format I need to use for the Batch file for Slow Drives.
  10.  
  11. You can do anything you want in there.  The only important thing is that %1 is
  12. the first command line parameter (actually, the ONLY command line parameter)
  13. and that is the name of the file that is being processed.
  14.  
  15. I could look something like this:
  16.  
  17.         PKZIP -z %1 < BBSAD
  18.  
  19. The above line would put the contents of your BBSAD file into the "comment"
  20. region of the ZIP file.
  21.  
  22. Of course, you might want to preceed the above line with a test to see if the
  23. file is a ZIP file first.  That could be done like this:
  24.  
  25.         TESTFILE %1 ZIP
  26.         IF ERRORLEVEL == 98 GOTO END
  27.         PKZIP -z %1 < BBSAD
  28.         :END
  29.  
  30. Also, the filename for the slow drive batch file is totally up to you.  It
  31. doesn't matter what you call it so long as you tell PCBoard (via PCBSetup) what
  32. you called it.
  33.  
  34. Hopefully that should give you some ideas on what you can do with it.
  35.