Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2002.04.25;
Скачать: 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 вся ветка

Текущий архив: 2002.04.25;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.01 c
1-80909
UserL
2002-04-12 13:39
2002.04.25
Не получаеться совсем.


14-81084
snoup
2002-03-18 22:09
2002.04.25
Как написать простую звонилку которая бы просто звонила по номеру и проводила нужную аутенфикацию и соединялась с инетом ?


6-81027
Dmitriy_0
2002-02-11 09:30
2002.04.25
Как


1-80912
@andrew
2002-04-15 12:49
2002.04.25
ПРИВЕТ ВСЕМ! Хочу распечатать Канвас...


14-81051
lipskiy
2002-03-19 19:16
2002.04.25
Как точно отследить сумму времени, проведенную в инете?