home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / 6 / 6pakbats.zip / 6PAKBATS.TXT next >
Text File  |  1993-02-28  |  3KB  |  92 lines

  1.     
  2.     -=Foreword=-
  3.  
  4.     These are the external protocol .Bat files that I use on my
  5.     BBS in order to make it possible for my 2 CD-Rom 6 paks to
  6.     be accessed by multiple nodes.
  7.  
  8.     The problem when you just use the internal protocols is that
  9.     when one user is downloading, it ties up the whole 6 pak for
  10.     the entire time he is transfering that file. So the fix I
  11.     came up with was to copy all the files a user wanted to d/l
  12.     onto a Ram drive, and let him download them from there. This
  13.     of course requires a huge Ram drive (I use 16 megs), or just
  14.     sending the files to your hard drive (if you don't have the
  15.     ram to spare).
  16.  
  17.     As an added bonus to this, I can now also add files to the
  18.     archives, delete competitors Zip comments and add my own,
  19.     and using the CompuMake Tools, can even add comments to Gif
  20.     files before they are sent. (Call my BBS for info on Compu-
  21.     Make Tools).
  22.  
  23.  
  24.     -=So how do you make it work?=-
  25.  
  26.     1.  Copy all the files you just got into your PCB directory.
  27.  
  28.     2.  Change your PCBPROT.DAT file to show the protocols as all
  29.         being external now. Remember: I only sent X,K,Y,G,T & M.
  30.  
  31.     3.  Edit the BBSAD.TXT file to your liking.
  32.  
  33.     4.  Edit the .Bat files to tailor them to your system. (see below)
  34.  
  35.     5.  MAKE SURE YOU HAVE THE /SWAP setting set for PCBoard!
  36.         Otherwise you might run out of memory.
  37.  
  38.     6. Thoughly test it out so your users don't get any surprises.
  39.  
  40.  
  41.     -=The .Bat Files=-
  42.  
  43.     I feel that a few things need to be mentioned about the .Bat files
  44.     I sent along here.
  45.  
  46.     1. You need to remove this line if you don't have CompuMake tools:
  47.        "FOR %%G IN (E:\TEMP%NODE%\*.GIF) DO CPASTE C:\PCB\COMMENT.EXT %%G"
  48.  
  49.     2. You need to edit this line to your system:
  50.        "dsz handshake both pB2048  estimate 0 %5 sb -g E:\Temp%NODE%\*.*"
  51.        
  52.        What you need to change is the Drive Letter for the temp directory.
  53.  
  54.     3. You need to edit this line also:
  55.        "CDCOPY E %NODE% < SORT.TXT"
  56.  
  57.     CDCopy is a small utility I came up with just for this purpose. I can't
  58.     see it having any other use, but maybe you can find one. The correct
  59.     use of CDCopy is as follows:
  60.  
  61.     CDCopy (Drive Letter) (%NODE% variable) < Filelist.Txt
  62.  
  63.     Where Drive Letter is JUST the letter of the drive you want to use as
  64.     the target for the files and %NODE% variable is a variable you set up
  65.     in you Board.Bat file for each node. ie: Set Node=1
  66.  
  67.     The Filelist.Txt file is a special case. It is the same as the
  68.     PCBDSZ.LST file that PCBoard outputs except, that you must add the word
  69.     END to the end of the file. I know this is hokey, but I'm no programmer
  70.     yet, so it must be there. This is already built into the .Bat files
  71.     that are here, along with sorting the filelist so the CD drives will get
  72.     accessed in order to save time.
  73.  
  74.     If you have trouble with CDCopy type CDCopy /? for a help screen.
  75.  
  76.  
  77.     Well I hope that I didn't forget anything here, I sort of felt that the
  78.     files were pretty self explainatory anyways, so good luck.
  79.     
  80.     <Disclaimer>
  81.     Oh yeah, I make no claims at all to the workings or usefulness of any
  82.     of these files and will not and can not be held resonsible for any
  83.     damages resulting to you system from them.
  84.  
  85.     Jack Gorman
  86.     The One-Stop Bit BBS
  87.     145 Navajo Dr. A-8
  88.     Sedona, Az 86336
  89.     (602) 282-9035
  90.  
  91.     PS: If you find these files useful I wouldn't be opposed to $5-10
  92.     showing up in the mail, although it's not required.