Mail Archives: djgpp/2001/03/05/16:50:30
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 -