Differences
This shows you the differences between the selected revisions of the page.
| 2011-03-29 | 2011-03-30 | ||
| lowercase (martin) | close log path to quotes (do not know the VB.NET syntax) (martin) | ||
| Line 54: | Line 54: | ||
| const string logname = "log.xml"; | const string logname = "log.xml"; | ||
| ... | ... | ||
| - | winscp.StartInfo.Arguments = "/log=" + logname; | + | winscp.StartInfo.Arguments = "/log=\"" + logname + "\""; |
| ... | ... | ||
| winscp.Start(); | winscp.Start(); | ||
| Line 139: | Line 139: | ||
| Process winscp = new Process(); | Process winscp = new Process(); | ||
| winscp.StartInfo.FileName = "winscp.com"; | winscp.StartInfo.FileName = "winscp.com"; | ||
| - | winscp.StartInfo.Arguments = "/log=" + logname; | + | winscp.StartInfo.Arguments = "/log=\"" + logname + "\""; |
| winscp.StartInfo.UseShellExecute = false; | winscp.StartInfo.UseShellExecute = false; | ||
| winscp.StartInfo.RedirectStandardInput = true; | winscp.StartInfo.RedirectStandardInput = true; | ||