Shell calls often suck. I guess it's because of the mixed environments.

A trick that i use is to simply dislay the shell command to the screen, Just prefix the command with a '?'and put the lot in single quotes, this way yu can see exactly what the %comspec% will see.

You can then copy/past the displayed line to your command prompt and see any errors.

acmp<><
_________________________
Every day is a school day