2006/7/4, Vincent Snijders <[EMAIL PROTECTED]>:
Alexandre Leclerc schreef:
> I need to check if a path to an external file is valid...  under
> windows I have to ways to check if this is a full path or a partial
> path:
> - has drive letter
> - has '\\'
>

Use filenameisabsolute.
http://lazarus-ccr.sourceforge.net/docs/lcl/fileutil/filenameisabsolute.html

Nice :)

Regards.

--
Alexandre Leclerc

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to