Scripting: Bitwise?
Posted: 29 Nov 2011 19:46
Scripting. Attributes, I don't see where or how to perform bitwise compare.
i.e., attrstamp( "h", 0, "<curpath>" )
Thanks
i.e., attrstamp( "h", 0, "<curpath>" )
Thanks
Forum for XYplorer Users and Developers
https://www.xyplorer.com/xyfc/
admin wrote:You want to retrieve the file attributes of items? Not possible yet.
Code: Select all
Report('{attr}|', $items);LOL, thanks for the tip.TheQwerty wrote:admin wrote:You want to retrieve the file attributes of items? Not possible yet.Then you can use string comparisons to get around the unfortunate lack of bitwise ones.Code: Select all
Report('{attr}|', $items);
If you wish to repay the favor: documenting the full list of attribute abbreviations and their order under Report() or "Columns in the File List" would be appreciated.admin wrote:LOL, thanks for the tip.
Code: Select all
R = READONLY
H = HIDDEN
S = SYSTEM
D = DIRECTORY
A = ARCHIVE
N = NORMAL
T = TEMPORARY
J = REPARSE_POINT (=Junction)
C = COMPRESSED
O = OFFLINE
I = NOT_CONTENT_INDEXED
E = ENCRYPTED