First, load the %PATH% elements into an array like this:
Code:
$Path = Split(ExpandEnvironmentVars('%PATH%'),';')


Then use ASCan() to see if what you want is in the path or not. If it is, move on else add it with whichever SET, SETL, or SETM suits you.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.