Anybody knows how to pipe an output from a bat file

Currently I am using firecommandExec service to call a bat file in the Win2000 os. Due to some intermittent problem of the scripts i need to incorporate a logging wheneven this scripts is run.

I added a pipe into the bat to perform logging into another log file but it wouldn’t log when run from Wm developer 46 but when run from command prompt - it is ok

i believe it is becasue of the firecommandExec service not able to return an output. Anybody knows what are the changes needed ?

rdgs

RDGS,

This article should give you some ideas: http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

Mark