www.icetips.com  Icetips Utilities Documentation 11/14/2010    

File Search Class:  SetFileAttributes

Previous  Top  Next  


Prototype: (Long pFileAttributes)

 

pFileAttributesAttribute value

 

This method sets the value of the FileAttributes property.  It is used in CountFilesInDirectories and ScanFiles methods and initially set in the Construct method to FF_:NORMAL.  The FileAttributes property determines the attribute for the files being read or counted in by ScanFiles.

Example:

 

ITF  ITFileSearchClass

Code

ITS.SetFileAttributes(FF_:READONLY)  !! Scan only files that are read-only.

ITS.ScanDirectories()

ITS.ScanFiles()

 

See also:

ScanFiles

ScanDirectories

FileAttributes

 



Direct link to this page: http://www.icetips.com/manuals/utilities/setfileattributes_filesearch.htm