|
|
|
|
- Checking the existence of a directory
fFileExist (Function) In french: fFichierExiste Checks the existence of an external file. Remark: In 64-bit Windows, you can access a system directory from a 32-bit executable in a different directory. For more details, see Native 64-bit and native 32-bit.
Syntax
<Result> = fFileExist(<File name>)
<Result>: Boolean - True if the file exists,
- False otherwise (the file name corresponds to a directory name for example).
<File name>: Character string Name and full path of file. Wildcard characters (*,?) are not allowed. You can call fDir to use wildcard characters. If only the file name is specified (without the path), the file is sought in the current directory (for example: fFileExist("Test.jpg"))
Remarks Checking the existence of a directory
Related Examples:
|
Unit examples (WINDEV): Handling text files
[ + ] Handling "text" files with WINDEV: - Create a text file - Write into a text file - Read in a text file
|
|
Unit examples (WEBDEV): Handling text files
[ + ] This example explains how to handle "non HFSQL" files with WEBDEV and it allows you to: - Create a text file - Write into a text file - Read in a text file
|
|
Unit examples (WINDEV Mobile): Handling text files
[ + ] Handling external "text" files: - Create a text file - Write into a text file - Read in a text file
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|