Вниз
Скачать: 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.009 c
3-80760
DimNK
2002-04-02 09:07
2002.04.25
Секретность паролей в IB


3-80771
Леонид
2002-04-04 10:08
2002.04.25
Кнопка поля просмотра в TDBGrid


3-80825
semion
2002-04-02 17:27
2002.04.25
Где взять компоненты Seagate Crystal Reports для Delphi 6?


3-80737
Buh
2002-04-06 12:27
2002.04.25
Как вставить запись в таблицу.dbf из таблицы другой базы данных п


1-80982
lipskiy
2002-04-11 00:23
2002.04.25
Почему иногда перестает работать всплывающая подсказка в IDE?




   Наверх