Article View: comp.lang.basic.misc
Article #42Re: Help finding contents of current directory.
From: Peter Azzopardi
Date: Thu, 21 Mar 1996 04:12
Date: Thu, 21 Mar 1996 04:12
29 lines
1812 bytes
1812 bytes
I can't remember exactly what you do, but under Borland C++ you use the dir.h header file and the findfirst() and findnext() functions to read the selected entries in a directory. timmins@jagunet.com (David Timmins) wrote: >In article <4imv0g$s92@hasle.sn.no>, balchen@sn.no wrote: >>76003.3021@compuserve.com (Bill Mageors)'s cats typed: >> >>>>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 >> >>>Simply.. just drop to a dos prompt and use command cd\windows or what ever >>>the name of the directory is then the "dir" command to list files and sub >>>directorys or dir/p to pause every 24 lines. >> >>*ahem* >>This is a programming group, remember? >> >*ahem* > Give it a rest "Jens". It's just a simple piece of advice taking up no more >bandwith than your reply. >We don't need a newsgroup police here.
Technical Details
Message-ID:
<4ipons$b3g@soap.news.pipex.net>Path:
arc1-ca.pugleaf.net!soap.news.pipex.net!pipex!usenetReferences:
<4ho68l$qhi@ruby.digisys.net> <4hrjt1$jpr@news.microsoft.com> <3149D3CC.7D67@gate.net> <4ik34p$gdn@juliana.sprynet.com> <4imv0g$s92@hasle.sn.no> <4ip12o$13k_002@news.jagunet.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!soap.news.pipex.net!pipex!usenet From: peteazzo@aol.com (Peter Azzopardi) 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: Thu, 21 Mar 1996 04:12:40 GMT Organization: UnipalmPIPEX server (post doesn't reflect views of UnipalmPIPEX) Message-ID: <4ipons$b3g@soap.news.pipex.net> References: <4ho68l$qhi@ruby.digisys.net> <4hrjt1$jpr@news.microsoft.com> <3149D3CC.7D67@gate.net> <4ik34p$gdn@juliana.sprynet.com> <4imv0g$s92@hasle.sn.no> <4ip12o$13k_002@news.jagunet.com> NNTP-Posting-Host: am075.du.pipex.com X-Newsreader: Forte Free Agent 1.0.82