JCL Help:IsDirectory

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Tests if the file is a directory.


Pascal

 function IsDirectory(const FileName: string; ResolveSymLinks: Boolean = True): Boolean;


Parameters

Parameters Description
const FileName: string The name of the file you want to test.


Return Value

If the specified file is a directory the function returns True, otherwise it returns False. Note that if the specified file is the root of a drive (e.g. 'c:') the function returns True, if the file does not exist the function returns False.


Description

IsDirectory returns whether or not the specified file is a directory.


About

Unit

JclFileUtils


Donator

Marcel van Brakel (Win32) Robert Rossmair (Unix)


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page