When i use a file path like "C\ test cases\testfile.csv", the file cannot be opened..
I know the problem is the space in my path. If i use "C\ testcases\testfile.csv", then its ok. Is there any tricks to come around this problem.
ProcessStartInfo pSInfo = new ProcessStartInfo( "Excel.exe");
pSInfo.WindowStyle = ProcessWindowStyle.Maximized;
pSInfo.Arguments = filePath;
thanks n regards
Wednesday, October 12, 2005 10:46 AM
I have the same issue , but the problem is that it works on my development just fine (the file path without quotes) but on the client machine it doesn't work . I just want to know what is the root cause of the problem that spaces work on some machines and other machines it doeasn't.Thursday, March 16, 2006 1:19 PM