Вниз
Скачать: 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 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.031 c
2-1158657920
RomanH
2006-09-19 13:25
2006.10.08
Копирование файлов


15-1158496222
TStas
2006-09-17 16:30
2006.10.08
Как за сделать, чтобы сайт в поискухе вылазил среди первых?


3-1155229904
serko
2006-08-10 21:11
2006.10.08
Выбор по дате!


15-1158045124
Бугага
2006-09-12 11:12
2006.10.08
Навеяно задачками...


2-1158765927
Makcim
2006-09-20 19:25
2006.10.08
ListBox




   Наверх