Chris ,

I don't think so !

The script is probably is just running through to
:WRITEERROR because you don't exit it before ?

I guess this because there is no $err in your output [Wink]
_________________________