J Jason Chan Jul 12, 2004 #1 I am playing with file, and i have a basic question. How can I get the filesize if I provided a full path?
I am playing with file, and i have a basic question. How can I get the filesize if I provided a full path?
S Shakir Hussain Jul 12, 2004 #2 Try this FileInfo fInfo = new FileInfo(@"c:\test.txt"); long size = fInfo.Length;
J Jason Chan Jul 13, 2004 #3 thanks! Shakir Hussain said: Try this FileInfo fInfo = new FileInfo(@"c:\test.txt"); long size = fInfo.Length; Click to expand...
thanks! Shakir Hussain said: Try this FileInfo fInfo = new FileInfo(@"c:\test.txt"); long size = fInfo.Length; Click to expand...