I want to start notepad, using a filename the user chose from a document list I already provided using Process.Start
.
When I use that method it is throwing the error "The system cannot find the file specified".
My code:
ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.FileName = @"C:\WINDOWS\system32\notepath.exe";
startInfo.Arguments = @"C:\folder\a.txt";
Process.Start(startInfo);