Re: file directory path

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Emmanouel (Emmanouel_at_discussions.microsoft.com)
Date: 06/28/04


Date: Mon, 28 Jun 2004 05:01:01 -0700

Thanks mark,

It worked :)

"Mark Shaw" wrote:

>
> "Emmanouel" <Emmanouel@discussions.microsoft.com> wrote in message
> news:A6D9B5BB-4A9E-4520-BAE5-8DAE7B3D1D5D@microsoft.com...
> > i am trying to set up the directory path for a file i want to use in .net
> C++
> > i am using something like:
> > String* output = new String (S"c:\out.html");
> > But i am getting a warning like :
> > warning C4129: 'o' : unrecognized character escape sequence
> > In debug the '\' character is not represented in the output variable
> > How do i write the '\' character in the path string?
>
>
> \\
> so your line of code becomes:
> String* output = new String (S"c:\\out.html");
>
>
>