Ole JR #1 Doh. That's what happens when posting the error message from another machine..It is 'getenv_' in the error message..Fixed my own spelling in the above post..