04-16-2005, 10:51 PM
Yes, DIR$ already supports an optional attribs parameter; these are compatible with the DOS file type attributes, and are guaranteed to work also under Linux. Here are the supported values:
You can OR any of these together to suit your needs of course.
Code:
&h20 - archive; these are normal files. This attrib is optional, i.e. if you don't specify anything else, &h20 is assumed anyway.
&h10 - directory
&h04 - system
&h02 - hidden
&h01 - read only
ngelo Mottola - EC++