Главная страница
    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.44 MB
Время: 0.005 c
3-80752
ak
2002-04-03 17:03
2002.04.25
Как сделать SQL-запрос?


1-80892
OldGirstaris
2002-04-14 14:13
2002.04.25
Будут ли работать в Win2000 и в WinXP такие функции...


1-80846
kopachev
2002-04-12 20:08
2002.04.25
Прыгающий курсор


1-80855
nerom
2002-04-12 15:07
2002.04.25
Как убрать курсор из единств. эдита в форме???


1-80843
Rammst
2002-04-13 07:49
2002.04.25
PlaySound





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский