; Feb 7, 1994 - Example script to run Toss and handle incoming NODEDIFF files
; by Jim Selleck

; NOTE: Files such as "PKAX" and "TrapList" must have been placed where the
;       system can find them, such as in your C: directory.

run CNet:Toss

CD mail:Inbound

; copy clinklst.#? nodelist:
; delete clinklst.#?

list nodediff.a?? lformat="rename %s nodediff.arc" >t:UNarc

execute t:UNarc
delete t:UNarc

IF EXISTS nodediff.arc

	PKAX -x nodediff
	delete nodediff.a??

	copy nodediff.#? nodelist:
	delete nodediff.#?

	TrapList
ENDIF
