Hello all,

I have a file (ex File.txt) placed in My Documents folder.
I wrote below code:
Code:
FileInfo f = new FileInfo(@"C:\Documents and Settings\huyho\My Documents\File.txt");
if (f.Exists) 
{
           //............. do something
}
the property Exists always return false. I think the problem is the spaces in filename. But dont know how to solve this.

Anyone can help me?

Thanks