| | |
Constant | Description | Used by the functions |
---|
fAccess | Handle the Date/Time of last file access. | fDate, fTime |
fcCopy | Used to continue the copy. | fCopyFile fCopyDir |
fcIgnore | Used to ignore the copy of a file. | fCopyFile fCopyDir |
fCreation | Handle the Date/Time of file creation. | fDate, fTime |
fcStop | Used to stop the copy permanently. | fCopyFile fCopyDir |
fdCDRom | Type of drive: CD-ROM (and burners, DVD, etc.). | fDriveInfo |
fddDefault | The data directory is automatically created if it does not exist. | fDataDirCommon, fDataDirUser |
fdDriveType | Type of information to retrieve: type of disk. | fDriveInfo |
fddWithoutCreation | The data directory is not created if it does not exist. | fExtractPath |
fDeleteDestination | If the destination file already exists, it will be deleted then re-created. | fMerge |
fDeleteSource | - The source file will be deleted as the split operation goes along.
- The source files will be deleted as the merge operation goes along.
| fSplit, fMerge |
fdFileNameSize | Type of information to retrieve: maximum size of file name on disk (in characters). | fDriveInfo |
fdFixed | Type of disk used: hard drive (hard disk). | fDriveInfo |
fdForbidVirtualFolder | The virtual directories are not listed. | fSelectDir |
fdFormerAspect | Allows you to use the former directory picker (old style). | fSelectDir |
fdFreeSpace | Type of information to retrieve: available disk space (in bytes). | fDriveInfo |
fdFullInformation | Returns the entire information about the list of files and directories. Each line (separated by CR characters) contains the following information: <Full file name> + TAB + <Size in bytes> + TAB + <Last modified> + TAB + <File attributes> The date is in YYYYMMDDHHmmSS format. The attributes are identical to the ones returned by fAttribute. | fListFile |
fdIgnoreError | If a directory cannot be browsed, it is ignored. | fDirSize |
fdInterruptible | The browse of the files/directories can be interrupted by pressing the ESC key. | fListFile, fDirSize |
fdInvalid | Type of disk used: the specified path does not correspond to a disk. | fDriveInfo |
fDirectory | Section of the file path: different file directories (the file name and extension are not returned). | fExtractPath |
fDirectory | Section of the file path: different file directories (the file name and extension are not returned). | fExtractPath |
fdNbCluster | Type of information to retrieve: number of disk clusters. | fDriveInfo |
fdNbSectorPerCluster | Type of information to retrieve: number of sectors per cluster. | fDriveInfo |
fdRAM | Type of disk used: virtual disk. | fDriveInfo |
fdRemote | Type of disk used: network disk. | fDriveInfo |
fdRemovable | Type of drive: removable disk (diskette, zip, etc.). | fDriveInfo |
fDrive | Section of the file path: name of unit. | fExtractPath |
fdSectorSize | Type of information to retrieve: size of sector (in bytes). | fDriveInfo |
fdSerialNumber | Type of information to retrieve: serial number of volume. | fDriveInfo |
fdTotalSpace | Type of information to retrieve: total size of the disk (in bytes). | fDriveInfo |
fdUnknown | Unknown type of disk. | fDriveInfo |
fdVolumeName | Type of information to retrieve: name of volume. | fDriveInfo |
fExtension | Section of the file path: file extension, preceded by ".". | fExtractPath |
fFile | Section of the file path: file name (without extension). New in version 28Remark: This constant corresponds to fFileName in previous versions. | fExtractPath |
flChangeDir | Changes the directory: first file listed in a subdirectory. | fListFile, fListDirectory, BurnerAddDirectory |
flDirectory | Same directory: listed file belonging to the same directory as the previous file. | fListDirectory |
flFile | Characteristics of listed file. | fListFile, BurnerAddDirectory |
flFirstFile | The listed file corresponds to the first directory file. | fListFile, BurnerAddDirectory |
fLinkPhysical | Create a physical link. A physical link is a file that can be accessed via several paths. The file deletion can be performed only when all physical links have been deleted. | fCreateLink |
fLinkSymbolic | Create a symbolic link. A symbolic link is a "pointer" to a file. The deletion of the symbolic link does not affect the pointed file. The deletion of the pointed file makes the symbolic link invalid. | fCreateLink |
fLockEmptyFile | Used to lock a file, even if it is empty. | <DiskFile variable>.Lock |
fModify | Handle the Date/Time of last file modification. | fDate, fTime |
foAdd | Opening mode of file: open the file in "add" mode. | fOpen |
foAnsi | Used to manage an Ansi file when the "Use the Unicode strings at runtime" mode is enabled in the project configuration. Mode used by default: - in the WINDEV and WEBDEV projects earlier than version 17,
- in the configurations of WINDEV and WEBDEV projects that use the "Use Ansi strings at runtime" mode from version 17.
| fLoadText, fCreate, fOpen, fOpenTempFile |
foAutomaticDeletion | The file will be automatically deleted when it is closed (with <DiskFile variable>.Close or when the application is closed). If multiple applications are using the file, it will be automatically deleted when the last application closes it (when <DiskFile variable>.Close is called, or at the end of the application). | fCreate, fOpen, fOpenTempFile |
foCreate | Opening mode of file: create the file. | fOpen |
foCreateIfNotExist | Opening mode of file: create the file only if this file does not exist. | fOpen |
foRead | Access mode to the file: open the file in "read-only" mode. | fOpen |
foReadLock | Lock when opening the file: file created in read-only. The other applications cannot read the current file. | fCreate, fOpen, fOpenTempFile |
foReadWrite | Access mode to the file: open the file in "read/write" mode. | fOpen |
foSequentialAccess | Optimizes the management of caches for the file by specifying to Windows that the file will be read from the beginning to the end. | fOpen |
foUnicode | Used to manage a Unicode file when the "Use the Ansi strings at runtime" mode is enabled in the project configuration. Mode used by default: - in the WINDEV Mobile projects regardless of the mode and version used,
- in the configurations of WINDEV and WEBDEV projects that use the "Use Unicode strings at runtime" mode from version 17.
| fLoadText,fCreate, fOpen, |
foWithoutDeletion | The file will not be automatically deleted when it is closed. | fOpenTempFile |
foWrite | Access mode to the file: open the file in "write-only" mode. | fOpen |
foWriteLock | Lock when opening the file: file created in write-only. The other applications cannot modify the current file. | fCreate, fOpen, fOpenTempFile |
fPathUNICODE | Used to specify the format of function result: the result will be in Unicode format. | fShortPath fLongPath fListFile fShortName fLongName |
fpBeginning | Source position in the file: first file byte. | <DiskFile variable>.Seek (Function) |
fpCurrent | Source position in the file: current position. | <DiskFile variable>.Seek (Function) |
fpEnd | Source position in the file: last file byte. | <DiskFile variable>.Seek (Function) |
frConfirm | A confirmation is requested before overwriting a file or a directory (copy, move, etc.). | fCopyFile, fCopyDir, fMoveDir |
frDirectory | Find a directory | fDir |
New in version 28frelAll | Mode for building the relative path: Gets the relative path of the file. | |
fRelativePath | Used to return the parent directory in the format of a relative path. | fParentDir |
New in version 28frelSubdirectoryOnly | Mode for building the relative path: Gets the path relative to the <Reference path>. | |
frFile | Find a file. | fDir |
frNoHiddenDirectory | If the frFullInformation constant is used, the hidden directories are not listed (attribute = "H"). | fListFile |
frNoHiddenFile | If the frFullInformation constant is used, the hidden files are not listed (attribute = "H"). | fListFile |
frNotRecursive | The sub-directories are not processed. | fListFile, fDirSize |
frProgress | Displays a progress window (progress bar) | fCopyFile, fCopyDir, fMoveDir |
frReadOnly | Also deletes the read-only files. If this constant is not specified, the function will return False if read-only files must be deleted. | fRemoveDir, fDelete |
frRecursive | Subdirectories are processed | fCopyFile, fListFile, fCopyDir, fMoveDir, fRemoveDir |
frToRecycleBin | Sends the file or the directory to the recycle bin of Windows instead of deleting it. | fRemoveDir, fDelete |
fselChange | Sends the MessageSelect message to the calling WINDEV window whenever a click is performed on a file found in the file picker. | fSelect |
fselCreate | Opens the file picker in creation mode ("Save" button). | fSelect |
fselExist | Opening mode of the file picker:- with fselCreate: Returns the name of the selected file. If the file already exists, a dialog box displays and allows the user to overwrite the former file,
- with fselOpen: Returns the name of the selected file if this file exists.
| fSelect |
fselMulti | Opens the file picker in multi-selection mode. The user can select several files by pressing the "Ctrl" and "Shift" keys. | |
fselOpen | Opens the file picker in opening mode ("Open" button). | fSelect |
fSeparatorPlatform | The separators (\ and /) will be replaced with the separator corresponding to the current platform. | fSeparator |
fSeparatorUnix | The (\ and /) separators will be replaced by /. | fSeparator |
fSeparatorWindows | The (\ and /) separators will be replaced by \. | fSeparator |
ftAll | Event to track: All the possible actions will be tracked. Corresponds to ftCreateFile + ftModifyFile + ftRename + ftDeleteFile. | fTrackFile, fTrackDirectory |
ftCreateFile | Event to track: Creating a file or a directory. | fTrackFile, fTrackDirectory |
ftDeleteFile | Event to track: Deleting a file or a directory. | fTrackFile, fTrackDirectory |
ftModifyFile | Event to track: Changing a file or a directory. | fTrackFile, fTrackDirectory |
ftRename | Event to track: Renaming a file or a directory. | fTrackFile, fTrackDirectory |