Article View: comp.lang.basic.misc
Article #40Re: Help finding contents of current directory.
From: Simon Hosie
Date: Tue, 19 Mar 1996 19:32
Date: Tue, 19 Mar 1996 19:32
12 lines
1337 bytes
1337 bytes
Dale Hollon (hollon@gate.net) wrote: > I am trying to get a listing of the files in the current directory. I realize I will have to use > stat to determin wether it is a file or a directory. But how do I find out what's in the > directory in the first place. Tommi Ylikulju: > I use _dos_findfirst and _dos_findnext functions to find out a listing of > files in a specific directory. Check C documention for more info about > those functions. Umm, they're very DOSish functions.. are there not UNIXish functions that do the same thing but are also supported by DOS compilers?
Technical Details
Message-ID:
<4in24g$ota@airdmhor.gen.nz>Path:
arc1-ca.pugleaf.net!airdmhor.gen.nz!not-for-mailReferences:
<4ho68l$qhi@ruby.digisys.net> <4hrjt1$jpr@news.microsoft.com> <3149D3CC.7D67@gate.net> <4icvkb$ogn@pinta.kolumbus.fi>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!airdmhor.gen.nz!not-for-mail From: gumboot@airdmhor.gen.nz (Simon Hosie) Newsgroups: comp.lang.basic.misc,comp.lang.basic.visual.misc,comp.lang.c,comp.lang.c++,comp.os.ms-windows.apps.comm,comp.os.ms-windows.apps.word-proc,comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.tools.mfc,comp.windows.misc Subject: Re: Help finding contents of current directory. Date: 20 Mar 1996 07:32:32 +1200 Organization: Airdmhor : a couple of BBS's, a bunch of people, and a cat. Message-ID: <4in24g$ota@airdmhor.gen.nz> References: <4ho68l$qhi@ruby.digisys.net> <4hrjt1$jpr@news.microsoft.com> <3149D3CC.7D67@gate.net> <4icvkb$ogn@pinta.kolumbus.fi> NNTP-Posting-Host: airdmhor.gen.nz X-Newsreader: TIN [version 1.2 PL2]