Главная страница
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.012 c
3-80817
Zak
2002-04-05 08:38
2002.04.25
Печать МЕМО записей в Qreport


6-81019
Alexey80
2002-02-14 08:33
2002.04.25
Снифер


1-80884
VlNek
2002-04-11 08:58
2002.04.25
Имя компонента как переменнная


3-80738
Olex
2002-04-05 21:36
2002.04.25
Как убрать запрос логина и пароля при обращении к БД Аксес...


1-80874
Alexander K.
2002-04-14 00:05
2002.04.25
Как быстрее всего переделать цветное bmp(24) в монохром(24) ?