How do I create a new path in C# ?
FileInfo f=new FileInfo("test.txt");
FileStream fs= f.Create();
fs.Close();
the code above works fine but not the one below
FileInfo f=new FileInfo("NyMapp/test.txt");
FileStream fs= f.Create();
fs.Close();
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Tanvir HudaRank #4,089 · 366 reputationPosted Jan 12, 2004, 8:18 PM EST
nisseh3221 reputationPosted Jan 13, 2004, 3:17 AM EST
Mahesh ChandRank #1 · 393.3K reputationPosted Jan 13, 2004, 8:03 AM EST
nisseh3221 reputationPosted Jan 14, 2004, 12:03 PM EST