JCL Help:FileExists

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Tests whether a file exists.


Pascal

 function FileExists(const FileName: string): Boolean;


Parameters

Parameters Description
const FileName: string The fully qualified name of the file whose existence to test.


Return Value

If the file exists the function returns True, otherwise it returns False.


Description

FileExists tests whether the specified file exists. Unlike the FileExists function from the Delphi RTL, this function suppresses potential dialog raises due to a disk not being available.


About

Unit

JclFileUtils


Donator

Pelle F. S. Liljendal


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