home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.pascal
- Path: sparky!uunet!wupost!cs.utexas.edu!torn!news.ccs.queensu.ca!slip203.telnet1.QueensU.CA!dmurdoch
- From: dmurdoch@mast.queensu.ca (Duncan Murdoch)
- Subject: Re: FindFirst
- Message-ID: <dmurdoch.293.726705393@mast.queensu.ca>
- Lines: 21
- Sender: news@knot.ccs.queensu.ca (Netnews control)
- Organization: Queen's University
- References: <726632204.AA00152@f262.n620.z3.fidonet.org> <1993Jan10.205957.21401@cs.tu-berlin.de>
- Date: Sun, 10 Jan 1993 22:36:34 GMT
-
- Oops, posted accidentally. If you saw the previous version of this reply,
- please ignore it!
-
- In article <1993Jan10.205957.21401@cs.tu-berlin.de> zisi@opal.cs.tu-berlin.de (Andreas Zisowsky) writes:
- >tp923021@jarrah.canberra.edu.au (ben elliston) writes:
-
- >>I'm using:
- >>
- >> FindFirst('C:\*.*', Hidden, SearchInfo);
-
- >Turbo Pascal does not care about attributes (maybe in version 7.0).
- >You have to do it in the way you mentioned it.
-
- That's right - TP doesn't look at the attributes. But FindFirst respects
- them, because it passes your request to DOS. The way DOS handles attributes
- is strange. Hidden, Sysfile and Directory won't show up unless you include
- them in the attribute parameter (but don't exclude files without that
- attribute); Archive and ReadOnly are ignored by the search logic;
- only VolumeID in the search attribute is a required match.
-
- Duncan Murdoch
-