Вниз
Скачать: 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.46 MB
Время: 0.044 c
1-1156780556
J o i n t
2006-08-28 19:55
2006.10.08
Rave Report, выборка данных


6-1147423933
Alek
2006-05-12 12:52
2006.10.08
скорость закачки


1-1155795190
konrads
2006-08-17 10:13
2006.10.08
Доступные принтеры


2-1158408359
greengeneral
2006-09-16 16:05
2006.10.08
Как сделать чтобы в Edit1 можно было вводить только цифры?


15-1158600999
Весь в делах
2006-09-18 21:36
2006.10.08
Фашисты опять лезут власть




   Наверх