🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Getting directory file names in builder 5

#853
From: tom
Date: Mon, 10 Dec 2007 03:24
8 lines
1372 bytes
    Haven't been here in awhile and haven't used bcb5 in awhile either. What 
I would like to know is how can I get a listing of file names from a given 
directory in bcb5? Seems to me I did it before but for the life of me I 
can't remember how or in what program I did it.
    Any way does has this command:   dir /b MyDirName > temp.txt    This 
reads all the names in MyDirName and puts them into a text file. I 
remembered this from the dos days, and looking back in old books. Is ther a 
way in BCB5. thanks for any help. 
Technical Details
Message-ID: <475cb157@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,3b8df2facea4c3de,start
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "tom" <No@noemail.net>
From: "tom" <No@noemail.net>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Getting directory file names in builder 5
Date: Sun, 9 Dec 2007 21:24:16 -0600
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
NNTP-Posting-Host: 76.199.12.109
Message-ID: <475cb157@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1197257047 76.199.12.109 (9 Dec 2007 19:24:07 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail