The standard MkDir() function can create only one directory, it can not create subdirectories at one time. This function allows you to create multiple directories (directories inside directories). Delphi 4+ has the ForceDirectories() routine which does the same thing. It is declared in the FileCtrl unit.
uses
SysUtils, FileCtrl;
…
procedure MkDirMulti(sPath: string);
begin
if sPath[Length(sPath)] [...]
Merlin’s Delphi Forge