🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.basic.misc
Article #34

Re: Help finding contents of current directory.

#34
From: Tommi Ylikulju
Date: Fri, 15 Mar 1996 23:48
16 lines
1705 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.

  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.


--
		------------------------------------------------
		|  Tommi Ylikulju				|
		|  The Raahe Institute Of Computer Engineering  |
		|  E-mail: tylikul@ratol.ratol.fi		|
		-------------------------------------------------
Technical Details
Message-ID: <4icvkb$ogn@pinta.kolumbus.fi>
Path: arc1-ca.pugleaf.net!news.kolumbus.fi!tylikul
References: <4ho68l$qhi@ruby.digisys.net> <4hrjt1$jpr@news.microsoft.com> <3149D3CC.7D67@gate.net>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.kolumbus.fi!tylikul
From: tylikul@ratol.ratol.fi (Tommi Ylikulju)
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.
Followup-To: 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
Date: 15 Mar 1996 23:48:27 GMT
Organization: Kolumbus Information Network, Finnet Group
Message-ID: <4icvkb$ogn@pinta.kolumbus.fi>
References: <4ho68l$qhi@ruby.digisys.net> <4hrjt1$jpr@news.microsoft.com> <3149D3CC.7D67@gate.net>
NNTP-Posting-Host: ratol.ratol.fi
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: TIN [version 1.2 PL2]