🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.comp.lang.learn.c-c++
2 messages
2 total messages Started by JP Wed, 23 May 2001 11:40
How to get the contents of a directory?
#314
Author: JP
Date: Wed, 23 May 2001 11:40
11 lines
1591 bytes
Hello,

I'm using Borland C++ builder 4 pro, trying to make a enhanced version of
the deltree command (win32 console app). I know how to change to a
directory, how to delete files and directory's, but I can't find help
anywhere on how to get the contents of a directory. Can anyone help me with
this one?

Thanks,

JP
Re: How to get the contents of a directory?
#315
Author: Leroux
Date: Sat, 09 Jun 2001 04:27
20 lines
1657 bytes
Look up findfirst and wfindfirst in the help files would be a lower level
place to start.
Leroux

"JP" <jaapjp@hetnet.nl> wrote in message
news:Of$us034AHA.302@net005s.hetnet.nl...
> Hello,
>
> I'm using Borland C++ builder 4 pro, trying to make a enhanced version of
> the deltree command (win32 console app). I know how to change to a
> directory, how to delete files and directory's, but I can't find help
> anywhere on how to get the contents of a directory. Can anyone help me
with
> this one?
>
> Thanks,
>
> JP
>
>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads