home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / pascal / 8016 < prev    next >
Encoding:
Text File  |  1993-01-10  |  1.3 KB  |  33 lines

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