CAT.BAT runs the whole show; Wildcat, frontdoor, Smallnet, purge/renumber and any other programs you want access to. I run Telix, local access to smallnet, DIS (a directory/file management program), and other functions from CAT.BAT. Remember to always have a copy of CAT.BAT in the Front- door and wildcat directories. Below is an item by item explanation of Cat.Bat. :start label to restart cat.bat from other parts of cat.bat echo off Don't want all cat.bat commands echo'd to the screen. You can Rem this line for trouble shooting. ctty con restore keyboard - console connection if exists c:\fd\file\nodediff.* goto nodediff_comp Auto compile new nodediff when received. if exists c:\fd\file\nodelist.* goto compile Send new nodelist to directory for inspection and future installation. if exists c:\fd\file\fnews.* goto fd_news Send fdnews to directory for reading. if exists c:\wildcat\callinfo.bbs goto online_user Send users exiting doors back to Wildcat BBS cd c: required if running of different drives cd \fd make sure your in frontdoors directory fd start frontdoor if errorlevel 99 goto dis_start Use frontdoors function keys to exit fd and start DIS.exe I use DIS to read log files ETC. if errorlevel 97 goto telix Use frontdoors function key to exit and start telix if errorlevel 95 goto re_numman use frontdoors function key to call mren to purge/renumber echomail manually. used to purge/renumber by age on echos that don't have much traffic, etc. if errorlevel 91 goto small_net use frontdoor function key to goto smallnet locally instead of going in thru wildcat. if errorlevel 90 goto start_cat Use frontdoor function key to enter wildcat locally. if errorlevel 65 goto pack_mail use frontdoor function key to pack out going mail for special reasons. mail also gets packed by an external event. if errorlevel 60 goto process_mail use frontdoor function key to process manually any mail that didn't get processed by to not enough disk space or other errors, after the error is cleared. if errorlevel 55 goto event_one frontdoor external event to run wildcat events. you can have several events run daily or weekly for wildcat or frontdoor. This event also packs the daily mail for pickup by the HUB. if errorlevel 50 goto re_numman frontdoor event to purge/renumber the mail. you can purge/ renumber each time mail is received or once nightly. this cat.bat file is set up both ways to show both. edit out the one you don't want. if errorlevel 45 goto 2400_baud wildcat 2400 baud user called. errorlevels are setup in frontdoor for exit on caller. you must define a errorlevel and have an entry for each baud you support. if errorlevel 40 goto 1200_baud if errorlevel 35 goto 300_baud if errorlevel 10 goto done exit frontdoor to dos goto done Exit frontdoor if frontdoor critical error. you can set up different exit by frontdoor errorlevels if you want like if errorlevel 9 goto error_nine. and have a label :error_nine to attempt to fix the error or goto start to try to restart frontdoor. NOTE if you do this and the error is still there you will just cycle until you stop it. The following lines are for all the label areas.I will explain each label area after showing all line in each area. Remember each label begins with a : and must not have any spaces in front of it. Lines after the label can be indented for clearness. :pack_mail echo ATH1 > com2 cd c:\fd confmail EXPORT areas.bbs -H -A pkzip -a goto start ath1 > com2 takes the phone off the hook so callers will get a busy and not think the board is down. I use com 2 if you use com 1 change all 2's for 1's. cd c:\fd makes sure your in the frontdoor directory. Confmail line packs the mail using pkzip so it ready for pickup by the hub. goto start sends you back to frontdoor after the mail is packed. There are other places in the batch file that calls ath1, cd, and goto start. they are used for the same reason so I won't repeat them. :process_mail echo ATH1 > com2 confmail Import areas.bbs -O -F conf.out -A spaz -d smlmport C:\fd\net\smlnet.cnf conf.out goto re_num Confmail with this set up unpacks the mail and puts the echos in there directories Spaz is used to call the required unpacker. ZIP, PAK etc smlmport is usedby smallnet to update the echos in each echo mail directory. :re_numman del conf.out del mren.log goto re_num Mamual renumber - del conf.out so it will remunber all mail directorys. del mren.log to start a new log. this label area can be used instead of renumbering after each mail delievery. :2400_baud cd c:\wildcat wildcat /b 2400 goto after_cat :1200_baud cd c:\wildcat wildcat /b 1200 goto after_cat :300_baud cd c:\wildcat wildcat /b 300 goto after_cat Change to wildcat directory. call wildcat for baud rate. goto after_cat when user logs off. If you have 19600 baud users, or above make more label areas. keep the 300 baud label area even if you don't allow 300 baud users. let wildcat send them the no 300 baud allowed message. :online_user cd c:\wildcat wildcat goto after_cat Allow users back to wildcat after exiting to doors etc. :start_cat echo ATH1 > com2 cd c:\wildcat wildcat /b local if errorlevel 60 goto exit_cat if errorlevel 50 goto run_door if errorlevel 40 goto drop2dos if errorlevel 1 goto start goto start Goto wildcat in local mode. put any wildcat exit errorlevels in. to allow door use, local drop to dos, Etc. go back to frontdoor on log off. :after_cat if errorlevel 60 goto exit_cat if errorlevel 50 goto run_door if errorlevel 40 goto drop2dos if errorlevel 1 goto start goto start users label area to allow users to go to the doors etc. and exit to frontdoor after log off. :exit_cat wctoday c:\wildcat\display\hello9 goto start Use this area to run any utility or maintenance after log off from wildcat. I use it to run who called today. Make sure you set up makewild to exit with a errorlevel of 60 upon logging off. :run_door door.bat goto start allow going to doors and back to wildcat. :drop2dos cd c:\wildcat ctty com2: cd c:\wildcat goto start allow local drop to dos. change to com1 if required. :event_one cd\wildcat\door\yt ytmaint.exe cd\wildcat s-pro!.exe spro.pro cd\fd goto pack_mail this label area runs the nightly events. door games that need nightly maintenance. s_pro etc. If you need weekly maintenance then make another frontdoor event for the day of the week you it to run and another label area, called event_two or whatever you wish to call it. :small_net cd c:\fd\net smlnet local goto start Used to enter smallnet locally and go back to frontdoor when done. :dis_start echo AHT1 > com2 cd c:\fd dis.exe goto start use to enter dis directory maintenance program. you can set up areas like this to exit to your favorite utilities and go back to frontdoor when finished. :nodediff_comp echo #################### Processing nodelist file ############### echo ATH1 > com2 see cat.bat file for rest of label area this area automatically compiles the nodelist using the nodediff.* that you receive from the hub. It del the old nodediff and compiles the nodelist using editnl.exe . then it runs fdnc to make the node files required by frontdoor. then runs parselst to make the node files required by smallnet. it then deletes the old nodelist and exits back to FD. :telix set tmcfg=c:\telix.cfg set comspec=4dos.com cd c:\telix telix.exe goto start used to run Telix telecomm prog from frontdoor. sets location of the telix config file and 4dos30 as the command.com used for drop to dos from telix. go back to FD when done. :fd_news copy c:\fd\file\fnews.* c:\uploads del c:\fd\file\fnews.* goto start when I receive the FD news letter from the hub. I send it to the directory I use for Shez (archive manager) for unarching and reading. deleting the original and go back to FD. :compile copy c:\fd\file\nodelist.* c:\uploads del c:\fd\file\nodelist.* goto start Since I don't have the room to keep a complete nodelist and all its files made by FDNC and the parselst. I use an small edited ver of nodelist. and send a new nodelist to my SHEZ area for inspection. you can use an edited version of Nodediff_comp labeled area to automatically run fdnc and parselst and delete the old nodelist. :done exit to dos I hope this explanation of the cat.bat file will help you in editing it for your use. If you need to set aside a period of time for mail that users are not allowed access to the board, set up an event in wildcat for that time period. and have an event set up in front door for the same time as a forced event.