Single File System: Virtual File System Delphi Library
for Archive / Backup with Transparent Compression and Strong Encryption


Creates all the directories along a directory path if they do not already exist within a single file system.

function ForceDirectories(Dir: string): Boolean;

SFS as well as DOS and Windows only allow directories to be created one at a time. For example, to create the \APPS\SALES\LOCAL directory, the APPS and SALES directories must exist before the LOCAL directory can be created. Use ForceDirectories to create a directory within a single file system and all parent directories that do not already exist.

ForceDirectories returns True if it successfully creates all necessary directories, False if it could not create a needed directory.

Do not call ForceDirectories with an empty string. Doing so causes ForceDirectories to raise an exception.

© 2000-2004 AidAim Software LLC Single File System: Virtual File Syste