| ZennoLab.Macros Assembly > ZennoLab.Macros Namespace > FileSystem Class : FileCountOfLines Method |
Type: System.String
Path to the file.
Type: System.String
Path to the file.
Type: System.Int32
Count of lines in the file.
string path = {pathToFile}; string countOfLines = FileSystem.FileCountOfLines(path);
$path = {pathToFile}; $countOfLines = FileSystem::FileCountOfLines($path);
Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.