|
|
|
|
|
- Operating mode in Windows Vista (and later)
fFileName (Function) In french: fNomFichier Returns the name of an external file currently open. This file was opened using one of the following functions: fOpen, fCreate or fOpenTempFile. IDMonFichierTest is int
NomFichier is string
IDMonFichierTest = fCreate("C:\temp\TestCreation.txt")
NomFichier = fFileName(IDMonFichierTest)
Info("Le fichier " + fExtractPath(NomFichier, fFile + fExtension) + ...
" a été créé dans le répertoire " + fExtractPath(NomFichier, fDrive + fDirectory))
NomFichier is string
MonFichier is DiskFile
MonFichier = fCreate("C:\temp\TestCreation.txt")
NomFichier = fFileName(MonFichier)
Info("Le fichier " + fExtractPath(NomFichier, fFile + fExtension) + ...
" a été créé dans le répertoire " + fExtractPath(NomFichier, fDrive + fDirectory))
Syntax
<Result> = fFileName(<File used>)
<Result>: Character string Name and full path of the external file. <Result> is a character string of the same type as the one passed to fOpen, fCreate or fOpenTempFile: - If these functions handled an Ansi character string, <Result> will be in Ansi format.
- If these functions handled a Unicode character string, <Result> will be in Unicode format.
<File used>: Integer or DiskFile variable
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|