Since Windows Mobile devices and this WM OS does not have a drive C all your need to do is to drop the drive letter.
PS. Yes, I have apps I've written on WinMo.
i'm using VS 2008. my code are given here..
string path = @"c:\\test.txt";
using (StreamWriter sw = File.CreateText(path))
using (StreamReader sr = File.OpenText(path))
string s = "";
while ((s = sr.ReadLine()) != null)
but error message: Could not find a part of the path '\c:\test.txt'.
Though i am using many code from Internet but still i can not write a file and read from this file.I want to create a file if not exists and want to read text from that file but problem is that path.So please help to do that.