Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2006.10.08;
Скачать: CL | DM;

Вниз

аналог   Найти похожие ветки 

 
вывод   (2006-09-15 14:32) [0]

Добрый день!
Есть ли аналог file_exists для каталогов? Спасибо.


 
ввод   (2006-09-15 14:33) [1]

Есть. Пожалуйста.


 
вывод   (2006-09-15 14:33) [2]

в php имеется ввиду..


 
ПЛОВ ©   (2006-09-15 14:35) [3]

F1 - Ру/\Ёз

Delphi syntax:

function DirectoryExists(const Directory: string): Boolean;

C++ syntax:

extern PACKAGE bool __fastcall DirectoryExists(const AnsiString Directory);

Description

Call DirectoryExists to determine whether the directory specified by the Name parameter exists. If the directory exists, the function returns true. If the directory does not exist, the function returns false.

If a full path name is entered, DirectoryExists searches for the directory along the designated path. Otherwise, the Name parameter is interpreted as a relative path name from the current directory.


 
ПЛОВ ©   (2006-09-15 14:36) [4]


> в php имеется ввиду..

а я то думал, что в португальском языке :)


 
Loginov Dmitry ©   (2006-09-15 15:13) [5]

Is_dir ?


 
_dimka ©   (2006-09-15 15:15) [6]

Так file_exists и для директорий помоему работает ;)



Страницы: 1 вся ветка

Текущий архив: 2006.10.08;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.038 c
2-1158939772
ycuk
2006-09-22 19:42
2006.10.08
MySQL


3-1154889900
Ilg
2006-08-06 22:45
2006.10.08
Ошибка при удалении


2-1158954375
BTR
2006-09-22 23:46
2006.10.08
RICHEDITOM


15-1158297469
SergP
2006-09-15 09:17
2006.10.08
Модем и тоновый набор номера...


2-1158053356
p314
2006-09-12 13:29
2006.10.08
AOwner: TComponent