Вниз
Скачать: CL | DM;

ExtractFileName ?   Найти похожие ветки 

 
Dot   (2005-08-26 02:28) [0]

Приветсвую мастеров.
в sysutils есть функция ExtractFileName.
никак не могу понять зачем она нужна, кто сможет объяснить?
Дело в том что мня вводи в заблуждение
ExtractFileName("calc.exe") выводит calc.exe
т.е. в нее передается параметр FileName и она выводит filename... и? зачем она тогда нужна то?


 
Zeqfreed ©   (2005-08-26 02:32) [1]

Dot   (26.08.05 2:28)
Description
The resulting string is the rightmost characters of FileName, starting with the first character after the colon or backslash that separates the path information from the name and extension. The resulting string is equal to FileName if FileName contains no drive and directory parts.

з.ы. Попробуй ввести "D:\filepath\filename.exe"


 
dot   (2005-08-26 02:37) [2]

Большое спасибо, понял



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

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



Память: 0.45 MB
Время: 0.021 c
5-1099377771
Kair
2004-11-02 09:42
2005.09.18
PropertyEditor, paSubProperties


1-1125071682
Andrej
2005-08-26 19:54
2005.09.18
Delphi 2005


5-1099673282
gigabyte
2004-11-05 19:48
2005.09.18
ValueListEditor


3-1123069170
Ruslan D
2005-08-03 15:39
2005.09.18
запись файла в БД


3-1123060466
set666
2005-08-03 13:14
2005.09.18
Глюк с Rave Reports 5.0




   Наверх