Article View: borland.public.cppbuilder.nativeapi
Article #17453Function to get parent director?
From: Jeff Douglass
Date: Tue, 25 Mar 2003 03:06
Date: Tue, 25 Mar 2003 03:06
8 lines
1167 bytes
1167 bytes
Is there an api or VCL function to return the parent directory of a given path? For example, given "c:\\dir1\\dir2\\dir3\\dir4" is there a fucntion that would return "c:\\dir1\\dir2\\dir3"? Basically reverse parse the hierarchy directory structure. thanks for any info. Jeff
Technical Details
Message-ID:
<3e7fc95d$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,6bd0fa2a5062181a,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-03-24 19:21:16 PST From: "Jeff Douglass" <.> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Function to get parent director? Date: Mon, 24 Mar 2003 20:06:27 -0700 Lines: 10 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 NNTP-Posting-Host: 68.2.177.21 Message-ID: <3e7fc95d$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1048562013 68.2.177.21 (24 Mar 2003 19:13:33 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail