on 06-23-2015 12:28 AM
hi, i found file attribute 8224 in pfc_n_cst_filesrv when running pb8 application on win8 envrionment.
we have function using of_dirlist to get pdf files from directory and check if older than 3 hours then delete.
however the function only return todays files.
i have checked the file atribute list, there is no such number, just want to know what it means?
thanks
This mask was added to the PFC, because non indexed drives would not return any files when you would do an of_dirList() call. It shouldn't be concerned with the date of the file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As Roland indicated, the fileattribute is a bitmap mask. Each of the value represents the setting of one bit in the mask. So 8224 means that the bit represented by 8192 is set, and the bit represented by 32 is set. If other attributes were set, you'd get other values that aren't specifically indicated in the file, but are composed of the values are are listed there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It appears to be 8192 + 32
If you are talking about file attributes, it would be:
32 = FILE_ATTRIBUTE ARCHIVE
8192 = FILE_ATTRIBUTE_NOT_CONTENT_INDEXED
This combo actually doesn't make any sense for what you are trying to do.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.