You are doomed to do a reboot if you update the reg key.
The SET command Les suggested also works and does not need a reboot.
Do not forget the ; in front of the stuff to add. The @error and @serror macro’s and the sleep’s are there just for testing and can safely be removed.

Code:

Break on
$path = %path%
$path = $path + ";new stuff to add to path"
?$path
Sleep 2
Set "path = $path"
?@ERROR
?@SERROR
Sleep 2

_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.