I have an executable called outtext.exe which writes some output to console. I want to write this output directly to file in the commandline. I know I can capture the output from the Process object but now I just want to use my command as is.
I thought I could:
Dim psi As New ProcessStartInfo
psi.FileName = "c:\sourcefiles\test\outtest.exe"
psi.Arguments = "> c:\outfile.txt"
psi.UseShellExecute = False
Process.Start(psi)
The problem is that no "outfile.txt" is created. How can I make this work?