>What are you using for your "Shell"? CMD.EXE? ShellExecute API?
I use this from the VB.NET application:
lnResult = Shell(toForm.JavaExtractor.Text + "\MyFile.bat >d:\Result.txt", AppWinStyle.NormalFocus)
But, even by simply opening a CMD window, I also cannot redirect to d:\Result.txt. The file is created but it is empty.
>Is the Java app a pure console application or a conventional Win32 app that's being invoked from a command line?
From the command line, this is how I execute it.