MESSAGE BASE PACKER FOR EXECUTIVE HOST Version 3.50 This program is declared to be in the PUBLIC DOMAIN by The author, Steve Wood PACK.EXE will pack all of your conference message.txt files by removing all messages that have been deleted. Also the .NDX file will be rebuilt. This will keep your message base small and manageable, as well as speed up the operation of Executive Host. It can check for unread messages and will not remove unread messages directed to a specific user depending on the environment variable XPURGE=. If this variable is equal to KEEP, then messages directed to one of your users that is still unread will not be deleted. The default is not to KEEP. You control the number of retained messages with a command line parameter. PACK.EXE 5 220 The above line will pack conference 5 and retain 220 messages in the conference. This number of messages to save may be up to 999999. If you use the word, ALL, for the conference, then all conferences will be packed. PACK.EXE ALL 100 The above line will pack all conferences keeping only 100 messages per conference. SETUP: You must declare the location of your BBS in the XHOST environment variable. This variable MUST NOT end in a '\'. Valid Commands: SET XHOST = T: SET XHOST = C:\TELIX Invalid Commands: SET XHOST = T:\ SET XHOST = C:\TELIX\ This program creates a MESSAGE.NEW file as it is purging messages. After purging, any MESSAGE.BAK files are deleted. The MESSAGE.TXT used as input is renamed to MESSAGE.BAK and the MESSAGE.NEW is renamed to MESSAGE.TXT. This program also a creates a MESSAGE.NXX file as it is purging messages. After purging, any MESSAGE.BKX files are deleted. The MESSAGE.NDX used as input is renamed to MESSAGE.BKX and the MESSAGE.NXX is renamed to MESSAGE.NDX. If you have any suggestions or need support you may reach me at: The WOODSHED (704) 847-8177.