ExtractFilePath() ?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi!

I have a path to a file: "C:\dir\file.txt"

How to get directory path? ("C:\dir\")

In Delphi there was a function ExtractFilePath(path). I searched in MSDN and
have not found. Somebody knows?


.



Relevant Pages

  • Re: fast drawing in delphi
    ... I try it (with Delphi 5) what the MSDN says about not including the last ... If I dont include the last line, ... Prev by Date: ...
    (comp.lang.pascal.delphi.misc)
  • Re: fast drawing in delphi
    ... (Psst. ... > I try it (with Delphi 5) what the MSDN says about not including the ... Obviously MSDN lied. ... Prev by Date: ...
    (comp.lang.pascal.delphi.misc)
  • Re: aus kurzem Dateinamen langen machen?
    ... > Die MSDN war aktuell, ... > Winapi-Hilfe von Delphi 5 stehts tatsächlich nicht drin. ... Prev by Date: ... Next by Date: ...
    (de.comp.lang.delphi.misc)
  • Re: dhcpenumsubnets
    ... > See "DHCP Server Management API Error Codes" in MSDN. ... Prev by Date: ...
    (microsoft.public.win32.programmer.networks)
  • Re: Delphi integration to MSDN library
    ... I don't mean that Delphi has to deploy MSDN. ... on the computer where Delphi is installed, Delphi can redirect the API help ... > (TeamB cannot answer questions received via email.) ...
    (borland.public.delphi.ide)