Quotation mark in line
I have a string with a variable, for example.
string path = @"C:\one\filename.exe" + arguments arguments: "-s -c -d > "somedirectory\some file.txt"" I have a problem with redirect output to "somedirectory\some file" If I put "\"" or char.ToString('"') , it is always interpreted as \" ... not one "
How do I put this character in arguments?
+4
3 answers
string args = @"-s -c -d > ""somedirectory\some file.txt""" try it.
for more information http://msdn.microsoft.com/en-us/library/aa691090%28v=vs.71%29.aspx
0