I am using the code below to start a executable file from a windows service and I need to pass html code (stored in a variable) as an argument. I am escaping with double quo
" \"" + subject + "\" \"" + htmlVar
Becomes
"SomeSubject" "SomeHTMLVar
Notice there is no closing quote. Maybe you wanted this:
" \"" + subject + "\" \"" + htmlVar + "\""