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

ClassNameDescription
stringpathToFileA path to any file

Return value

ClassDescription
fileAn 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.

Links for reference

Copyright © Cooker All rights reserved.