I am trying to start Wordpad with a filename. My path consists of LocalPath + item.Text which...in the test case...works out as "C:\\TestFile.txt". Of course the double slashes are in there because of escaping the slash. The issue is when I do Process.Start("wordpad.exe
" + localPath + item.Text); it says that file cannot be found. When I do File.Exists(localPath + item.Text) I get True. The file is there. Also, Process.Start("wordpad.exe
"); works.
Start Free Trial