I am using a Shell to execute a program. It is a Java XML creator that dumps some processing results at the console. Unlike DIR >d:\Result.txt, this program does not seems to expose its result. When I do a redirection to a text file, the text file is created but is empty. Anyone would know how to obtain that result in a text file?