btw.. if you need to record a command's error channel you need to specify channel 2

SHELL "%COMSPEC% /C net start 2> c:\log.txt"
_________________________
How to ask questions the smart way <-----------> Before you ask