Do a simple instr() against the %path% to make sure that what you want to add is not already in there.

code:
if instr(%path%,$pathtoadd) = 0
;the $pathtoadd is not in the %path% statment.
setm....
endif

Once it has been added the instr() command will prevent the setm command from running again.

Bryce

[ 14 March 2002, 18:51: Message edited by: Bryce ]