Thanks Ben, Your command worked except that the NOPROMPT is an invalid option. Also the fn after spid should be the filename you want the notebook called. It should be the same as fn after notebook option. thanks again for your help....