Using VB.NET 2005 with the following code--Exception occurs
Dim winscp As Process = New Process() winscp.StartInfo.FileName = "winscp.com" winscp.StartInfo.Arguments = "/log=" + logname winscp.StartInfo.UseShellExecute = False winscp.StartInfo.RedirectStandardInput = True winscp.StartInfo.RedirectStandardOutput = True winscp.StartInfo.CreateNoWindow = True winscp.Start()
When it executes, I get an unhandled exception saying "The system can not find the file specified" at the last line. This code was copied from the website for VB.NET automation here.
Problem is, I can't tell what file the system can not find. The data of the error says nothing.