What happens when you execute the command directly in a CMD window? What does %errorlevel% show after.
_________________________
Home page: http://www.kixhelp.com/hb/