Re: newgie string help please

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Du Dang (vietquest_at_hotmail.com)
Date: 02/14/04


Date: Sat, 14 Feb 2004 12:41:50 -0500

try this

string s = @"""C:\Documents and Settings\Darren\My Documents\Visual
Studio Projects\shorcut\bin\Debug\shorcut.exe\"" /r";

<darren> wrote in message news:clas20l913djk238505jm5ib8tnk0hfh7u@4ax.com...
>
> 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:\Documents and Settings\Darren\My Documents\Visual Studio
> Projects\shorcut\bin\Debug\shorcut.exe" /r"
>
> my problem is how do i get the single " quote mark into my string
> please help
>
> thanks
> Darren



Relevant Pages

  • Re: proposal: reswitch
    ... > which levels of loops and/or switches and/or ... socket -server command ?-myaddr addr? ... You've got the quick-exit (break, no string), the fall-through to next ... -switch option), then it'd be the nth switch. ...
    (comp.lang.tcl)
  • Re: String-based Switch Request...
    ... Facilitate good callback programming design and modularization within GUI code ... When ever switch statements are used, they are typically over used being favour over polymorphism, which leads to brittle shoddy design. ... Use the string type-code as the Key and a Command or Strategy Object as the Value. ...
    (comp.lang.java.programmer)
  • Re: problem with sscanf in email client
    ... switch (command ... If I do this...Does that mean I have to use sscanf all way along for ... got the string already in which I need. ...
    (comp.lang.c)
  • newgie string help please
    ... hi iam righting aprogram that creates its own desktop shotcut and a ... want to add a command line switch ... my problem is how do i get the single " quote mark into my string ...
    (microsoft.public.dotnet.languages.csharp)
  • TIP #185: Null Handling
    ... nulls, and command modifications for manipulating them. ... Tcl deals with strings, the universal medium for representing data. ... is know and it is an empty string, but if a respondent forgets to give ...
    (comp.lang.tcl)