Главная страница
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.019 c
1-80939
P.
2002-04-11 12:20
2002.04.25
ComboBox


14-81046
lipskiy
2002-03-19 21:45
2002.04.25
По поводу XP и убитого винта - шутка дубль два или что это?


3-80813
Atrem
2002-04-04 19:18
2002.04.25
небольшой вопросик


14-81066
Fellomena
2002-03-18 18:46
2002.04.25
Возможна ли связка *.lib от Фортрана с Delphi проектами ?


1-80851
RUS1
2002-04-11 12:11
2002.04.25
Вопрос простой братья: как сделать паузу в выполнении программы