do you have trouble copying ready code? [Big Grin]

I just REMOVED your CMD and you insisted to add it back in?

what you should do is lookup at the faq what comspec is.
there is also documentation on MS site.

it gives you the full path to command prompt, no matter what machine.
that's why I replaced your "cmd" as it said:
quote:
267: The directory name is invalid


[ 01. October 2003, 16:44: Message edited by: Lonkero ]
_________________________
!

download KiXnet