Вниз
Скачать: 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.008 c
1-80880
Citen
2002-04-13 14:42
2002.04.25
Документация по QReport.


14-81040
drpass
2002-03-19 19:04
2002.04.25
Как используется привод CD-RW при возведении в степень?


3-80746
RomanG
2002-04-02 13:16
2002.04.25
ODBC, MS SQL


1-80894
f0rm
2002-04-14 15:19
2002.04.25
Нужна процедура загрузка и сохранения item ов в listview e


7-81094
Lord BDV
2002-01-28 20:37
2002.04.25
Работа со шрифтами




   Наверх