Don't forget when using "$", it should be "$$".

Also in your bat, you are setting $ZKey=%1 but I don't see where you are passing %1.

[ 31 January 2002: Message edited by: LLigetfa ]

_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.