Simply add a .quit as the last command in side the with block. Regards. Glenn * To join/leave the list, search archives, change list settings, * * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *