Вниз
Скачать: CL | DM;

Создание вложеной папки   Найти похожие ветки 

← →
VJar   (2002-04-11 23:35) [0]

Есть ли стандартная процедура, которая
создает папку, но учитывая то, что если папки
в которых она должна лежать не существуют,
то их тоже нужно создать???


← →
oomneeq ©   (2002-04-11 23:37) [1]

Unit
unit
FileCtrl


function ForceDirectories(Dir: string): Boolean;

Description

DOS and Windows only allow directories to be created one at a time. For example, to create the C:\APPS\SALES\LOCAL directory, the APPS and SALES directories must exist before the LOCAL directory can be created. Use ForceDirectories to create a directory 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.

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



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.44 MB
Время: 0.012 c
1-80962
pls
2002-04-12 10:50
2002.04.25
TControl.Hint???


1-80897
new______
2002-04-14 23:50
2002.04.25
Дайте ссылку где я могу скачать RX Library!!


3-80819
merr
2002-04-05 14:13
2002.04.25
Базы-Paradox


1-80848
Ник
2002-04-12 22:00
2002.04.25
Не могу разобраться


1-80866
SunVit
2002-04-13 16:21
2002.04.25
Вопрос по Report у




   Наверх