🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #16584

Re: How to conclude a file or directory exists

#16584
From: StarCinema - Rodolfo Frino
Date: Wed, 07 May 2003 22:38
20 lines
1465 bytes
I think the simplest (and portable) way of doing that is via the method
described by JD
Alternatively you can use this code
http://www.geocities.com/rodolfofrino/FileExists.html
which also works under UNIX

Rodolfo
Stargate Software

"Sky" <akeehuang@163.net> wrote in message
news:3eb7a237@newsgroups.borland.com...
> hi all,
> I want to know whether a file or directory is existed or not?
> not use VCL, I know the FileExists/DirectoryExists in VCL.
> great appreciated if any hint.
>
> Sky
> 2003-5-6
>
>
Technical Details
Message-ID: <3eb98ac6$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3eb7a237@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,753d602e8f21d00d
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-05-07 15:45:23 PST
From: "StarCinema - Rodolfo Frino" <starcinema@stargate.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3eb7a237@newsgroups.borland.com>
Subject: Re: How to conclude a file or directory exists
Date: Thu, 8 May 2003 08:38:37 +1000
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 203.206.17.123
Message-ID: <3eb98ac6$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1052347078 203.206.17.123 (7 May 2003 15:37:58 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail