On Windows98, the pipe (|) and redirection (> ) doesn't work with the shell command, unless I use %comspec% /c . Unfortunately the %comspec% construction always return errorlevel 0, and I want to use it for checking the status

Ideas anyone ?

Naturally it works fine in Windows NT...

TIA,
Ben