Darren-
By escaping it;
string s = "can you find the \" extra quote?";
But, if you add a quote to you string in the place you indicated, you will
have unbalanced quotes. What you want is for you string to look like this;
"C:\Documen ts and Settings\Darren \My Documents\Visua l Studio
Projects\shorcu t\bin\Debug\sho rcut.exe" /r
So you would assign the string like this:
string s = "\"C:\Docum ents and Settings\Darren \My Documents\Visua l Studio
Projects\shorcu t\bin\Debug\sho rcut.exe\" /r";
HTH
Brian W
<darren> wrote in message news:cl******** *************** *********@4ax.c om...
hi iam righting aprogram that creates its own desktop shotcut and a
want to add a command line switch
so i want to have a string like this
"C:\Documen ts and Settings\Darren \My Documents\Visua l Studio
Projects\shorcu t\bin\Debug\sho rcut.exe" /r"
my problem is how do i get the single " quote mark into my string
please help
thanks
Darren