I would like to pass the input of a txt-File to an application in VB.NET. Manually it would be something like
C:\file.exe -param < textfile.txt
Now I want to implement this part in VB.Net. I've tried the following options:
Process.Start(filepath, "-param < test.txt")
also tried
ProcessStartInfo.Arguments = "-param < test.txt"
or shell nothing seems to work for me.
Do you have an idea what I can do to pass the content of a file?
Best greetings