T
Tim
Hello,
i try to write some data into an XML-file via c#. When I specify the
path like "c:\\temp\\test.xml" the XmlTextWrite could open the file.
But when I tried to get the path from Directory.GetCurrentDirectory()
and combine it with
my file, the XmlTextWriter couldn't open the file.
The returned path from Directory.Get... contains only one \. Is this
the problem?
Does anybody know how to receive the path with two \\? Or is it my
task to scan the string an insert the missing \? I don't think so!
Hope anybody can help.
Thanks!
Tim
i try to write some data into an XML-file via c#. When I specify the
path like "c:\\temp\\test.xml" the XmlTextWrite could open the file.
But when I tried to get the path from Directory.GetCurrentDirectory()
and combine it with
my file, the XmlTextWriter couldn't open the file.
The returned path from Directory.Get... contains only one \. Is this
the problem?
Does anybody know how to receive the path with two \\? Or is it my
task to scan the string an insert the missing \? I don't think so!
Hope anybody can help.
Thanks!
Tim