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 >
Wrap
Text File
|
1993-02-28
|
3KB
|
92 lines
-=Foreword=-
These are the external protocol .Bat files that I use on my
BBS in order to make it possible for my 2 CD-Rom 6 paks to
be accessed by multiple nodes.
The problem when you just use the internal protocols is that
when one user is downloading, it ties up the whole 6 pak for
the entire time he is transfering that file. So the fix I
came up with was to copy all the files a user wanted to d/l
onto a Ram drive, and let him download them from there. This
of course requires a huge Ram drive (I use 16 megs), or just
sending the files to your hard drive (if you don't have the
ram to spare).
As an added bonus to this, I can now also add files to the
archives, delete competitors Zip comments and add my own,
and using the CompuMake Tools, can even add comments to Gif
files before they are sent. (Call my BBS for info on Compu-
Make Tools).
-=So how do you make it work?=-
1. Copy all the files you just got into your PCB directory.
2. Change your PCBPROT.DAT file to show the protocols as all
being external now. Remember: I only sent X,K,Y,G,T & M.
3. Edit the BBSAD.TXT file to your liking.
4. Edit the .Bat files to tailor them to your system. (see below)
5. MAKE SURE YOU HAVE THE /SWAP setting set for PCBoard!
Otherwise you might run out of memory.
6. Thoughly test it out so your users don't get any surprises.
-=The .Bat Files=-
I feel that a few things need to be mentioned about the .Bat files
I sent along here.
1. You need to remove this line if you don't have CompuMake tools:
"FOR %%G IN (E:\TEMP%NODE%\*.GIF) DO CPASTE C:\PCB\COMMENT.EXT %%G"
2. You need to edit this line to your system:
"dsz handshake both pB2048 estimate 0 %5 sb -g E:\Temp%NODE%\*.*"
What you need to change is the Drive Letter for the temp directory.
3. You need to edit this line also:
"CDCOPY E %NODE% < SORT.TXT"
CDCopy is a small utility I came up with just for this purpose. I can't
see it having any other use, but maybe you can find one. The correct
use of CDCopy is as follows:
CDCopy (Drive Letter) (%NODE% variable) < Filelist.Txt
Where Drive Letter is JUST the letter of the drive you want to use as
the target for the files and %NODE% variable is a variable you set up
in you Board.Bat file for each node. ie: Set Node=1
The Filelist.Txt file is a special case. It is the same as the
PCBDSZ.LST file that PCBoard outputs except, that you must add the word
END to the end of the file. I know this is hokey, but I'm no programmer
yet, so it must be there. This is already built into the .Bat files
that are here, along with sorting the filelist so the CD drives will get
accessed in order to save time.
If you have trouble with CDCopy type CDCopy /? for a help screen.
Well I hope that I didn't forget anything here, I sort of felt that the
files were pretty self explainatory anyways, so good luck.
<Disclaimer>
Oh yeah, I make no claims at all to the workings or usefulness of any
of these files and will not and can not be held resonsible for any
damages resulting to you system from them.
Jack Gorman
The One-Stop Bit BBS
145 Navajo Dr. A-8
Sedona, Az 86336
(602) 282-9035
PS: If you find these files useful I wouldn't be opposed to $5-10
showing up in the mail, although it's not required.