Unit rfiletool
Uses Classes, Interfaces, Objects and Records Types Constants Variables
Description
rfiletool is set of file and system functions.
Updated version compatible with Delphi2010+.
Overview
Functions and Procedures
Description
Functions and Procedures
function LoadFileList(L: TStrings; const DirWildCard: string; AddDirToFileName: Boolean = false): integer; |
fill list with all files according DirWildCard
|
function LoadFileListSubDir(L: TStrings; const Dir: string; const FileWildCard: string): integer; |
|
function GetFileSize(const FileName: string): Int64; |
Get file size as INT64
|
function GetGenericFileType(const AExtension: string): string; |
Get file type for an extension
|
function Sys_CopyDir(const fromDir, toDir: string; Confirmation: Boolean = true): Boolean; |
copy whole directory using standard progress dialog
|
function Sys_DeleteDir(const Dir: string; Confirmation: Boolean = true): Boolean; |
delete whole directory using standard progress dialog
|
function Sys_CopyFiles(const FileArray: array of string; const toDir: string): Boolean; |
copy file list using standard progress dialog
|
function Sys_PasteFilesFromClipboard(const toDir: string): integer; |
paste files from clipboard using standard progress dialog
|
function Sys_PasteFilesFromDataObject(Obj: IDataObject; const toDir: string): integer; |
paste files from data object (e.g. Email) using standard progress dialog
|
procedure Sys_CopyFilesToClipboard(const FileArray: array of string); |
copy file list to clipboard using standard progress dialog
|
function Sys_DeleteFilesToBin(const FileArray: array of string): Boolean; |
delete file list (move to recykle bin)
|
Author
Created
Jun 2016
Last Modified
Jun 2016
Generated by PasDoc 0.15.0.
|