C
Chad Z. Hower aka Kudzu
Im using Environment.GetCommandLineArgs().
However some of the arguemtns passed in have spaces, so I enclosed them in
"".
For example:
"c:\temp\My area\"
The problem is when I access this as an element of the string array it
treating the last \" (And maybe others" as escape characters. So array
element [1] actually gets:
"c:\\temp\\My area\""
or
@"c:\temp\My area""
Am I just missing something obvious?
However some of the arguemtns passed in have spaces, so I enclosed them in
"".
For example:
"c:\temp\My area\"
The problem is when I access this as an element of the string array it
treating the last \" (And maybe others" as escape characters. So array
element [1] actually gets:
"c:\\temp\\My area\""
or
@"c:\temp\My area""
Am I just missing something obvious?