

                        Batch Files and Hints


        This is a new section of the E-Zine, and I hope it is one that
 many people will contribute to. Many of us have little tricks we use
 to get things done. Be they Short Cuts or just little batch file tricks,
 they are very useful. I would like to open this section up to everyone
 to contribute these Batch Files and Hints so that more people will be
 able to use them.

        Since this is the first edition, and I've not received any, I'm
 going to share a few batch files that may help new, or even seasoned
 sysops setup and get running with external protocols, as well as a few
 other little things I've come up with over the years.

        Lets start with the protocols. Now, don't get me wrong, I'm not
 saying this is the perfect command line (as I'm sure Jim Bennett will be
 thinking they are not <G>) But they work for me. Lets look at my
 EXTPROT.MNU first:


        K,1K-XModem,XSEND.BAT,XRCV.BAT,N,N
        Y,YModem,YSEND.BAT,YRCV.BAT,Y,N
        G,YModem-G,GSEND.BAT,GRCV.BAT,Y,Y
        Z,ZModem Moby Turbo,ZSND.BAT,ZRCV.BAT,Y,Y
        H,HSLink,HSS.BAT,HSR.BAT,Y,Y


    I am using GSZ for my XModem, YModem, YModem-G and ZModem. We will look
 at each one. Let me say again that these may not be the most optimized
 command lines, and I would love to hear from others that have tuned them
 up more, but they do work.

        XSEND.BAT
        @gsz port %1 ha on pV1 sx -s -k %3

        XRCV.BAT
        @gsz port %1 ha on restrict pV1 rc %3

        YSEND.BAT
        @gsz port %1 ha on pV1 sb -s -k @C:%3

        YRCV.BAT
        @gsz port %1 ha on restrict pV1 rb

     ** GSEND.BAT
        @gsz port %1 ha on pV1 sb -s -g -k @C:%3

     ** GRCV.BAT
        @gsz port %1 ha on restrict pV1 rb -g

    *** ZSND.BAT
        @gsz port %1 sz -m @C:%3

    *** ZRCV.BAT
        @gsz port %1 rz -mrr

        HSS.BAT
        hslink -p%1 @%3

        HSR.BAT
        hslink -p%1


        ** YModem-G is only available in the registered version of DSZ/GSZ
       *** This command line enables ZModem Moby Turbo. While Moby Turbo
           will not work in the un-registered version, I don't think it
           will hurt to leave the command line as it is. Also, the distant
           end must use Moby Turbo for it to work. If the distant end does
           not have Moby Turbo enabled, regular ZModem will be used.

        These command lines will work for both DSZ and GSZ. You only need
 to change the gsz to dsz to use the non-graphical version.

        One important note, the above command lines assume that you have
 DSZ/GSZ in your path. I have a protocol directory, and it is listed in
 my path. If you do not do this, you must provide the path to the .exe
 file.


        Now for a hint. I'm not really sure how many of you will really
 be able to use this, but I'm going to send it out to you anyway. I
 accept QWK mail packets via my uucp account (email) and needed a way
 to incorporate them into the BBS without manual intervention. After
 talking with Mark, and a few others, I learned that I could use
 TRIHUB to do this, with just a little cheat.

        TRIHUB requires that TRIBBS.SYS and DOORS.TMP be present before
 it will work. What I have done is to manually log on for each Email
 QWK account, and saved the TRIBBS.SYS and DOORS.TMP for that account.
 I've named them (in one case) FRIENDLY.SYS and FRIENDLY.TMP (this is
 Greg Murrells account) When a .REP is received from him, it is copied
 to the TRIHUB work1 directory. I then copy the FRIENDLY.SYS to TRIBBS.SYS
 and the FRIENDLY.TMP to /NWORK/DOORS.TMP, then run TriHub by the simple
 command line of TRIHUB THUB1.CFG and all the messages are imported.

        I'm not sure under when or where others might be able to do this,
 but anyone who may set up their board for email or even FTP mail will
 be able to do this. It is really very simple, it just requires a little
 fore thought to get it all right.

        If you have any batch files or hints you would like to contribute,
 please send them to me. I'm sure that other TriBBS sysops would love to
 see how you do things on your board. You can send submission to me at
 steve@psyduck.com or to 1:371/32




