🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Help finding contents of current directory.

#28
From: Dale Hollon
Date: Fri, 15 Mar 1996 20:32
9 lines
1003 bytes
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.

Thanks in advance,

Dale Hollon

hollon@gate.net
Technical Details
Message-ID: <3149D3CC.7D67@gate.net>
Path: arc1-ca.pugleaf.net!news.gate.net!news-adm
References: <4ho68l$qhi@ruby.digisys.net> <4hrjt1$jpr@news.microsoft.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.gate.net!news-adm
From: Dale Hollon <hollon@gate.net>
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: Help finding contents of current directory.
Date: Fri, 15 Mar 1996 15:32:12 -0500
Organization: CyberGate, Inc.
Message-ID: <3149D3CC.7D67@gate.net>
References: <4ho68l$qhi@ruby.digisys.net> <4hrjt1$jpr@news.microsoft.com>
NNTP-Posting-Host: tpafl3-51.gate.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0GoldB1 (Win95; I)