Вниз
Скачать: 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
1-1124262559
Найти
2005-08-17 11:09
2005.09.18
drag&drop в TListBox


1-1124952793
kyn66
2005-08-25 10:53
2005.09.18
Почему List index out of bounds(-1) ?


14-1124685345
Dreamse
2005-08-22 08:35
2005.09.18
Dialogic and Delphi


9-1116873712
iosif
2005-05-23 22:41
2005.09.18
Нужен пример OpenGL


11-1090511223
Максим
2004-07-22 19:47
2005.09.18
FindComponent




   Наверх