www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/03/05/16:50:30

Message-ID: <23725A8A3558D411A44B00D0B784811C022B2973@fsxtlf02.vance.af.mil>
From: Burgess David A SrA 71 MSS/DPMD <david DOT burgess AT vance DOT af DOT mil>
To: "'djgpp AT delorie DOT com'" <djgpp AT delorie DOT com>
Subject: RE: directory&files
Date: Mon, 5 Mar 2001 21:50:12 -0000
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Reply-To: djgpp AT delorie DOT com

Depends on the file system....FAT/NTFS?

-----Original Message-----
From: Tom St Denis [mailto:tomstdenis AT yahoo DOT com]
Sent: Monday, March 05, 2001 3:08 PM
To: djgpp AT delorie DOT com
Subject: Re: directory&files



"Abacuc" <f DOT onorati AT tiscalinet DOT it> wrote in message
news:980qkc$lj0$1 AT pegasus DOT tiscalinet DOT it...
> How can i distinguish a file or a directory? And how can I know the
> extensions of the files (exe, com, jpg, etc.)?

Well you can "fopen" a file not a directory... hmm...

There is no ISO-C method for what you are asking.  If you are making DJGPP
specific requests research the "findfirst/findnext" functions.

Tom

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019