file class : file(string) fitter
Description
Gets an instance of the file class that has been initialized by the path to the file.
Syntax
new file(string pathToFile)
Arguments
Class | Name | Description |
string | pathToFile | A path to any file |
Return value
Class | Description |
file | An instance of the file class. |
Sample code
1: | file f = new file("c:\somewhere..."); |
Notes
It's a wrapper of the System.IO.FileInfo.FileInfo(String) constructor.