Scripting. Attributes, I don't see where or how to perform bitwise compare.
i.e., attrstamp( "h", 0, "<curpath>" )
Thanks
Scripting: Bitwise?
-
Zardoz2293
- Posts: 637
- Joined: 09 Nov 2011 20:20
- Location: USA
Scripting: Bitwise?
XYplorer v28.40.0612
MacOS Tahoe v27.2
VM (Client): Windows 11 Pro (AArch64), 26H2.26300.9818(10.0)
Windows Display: Main=MacBook 4112 x 2570 @200%; External 3840 x 2160 @125%
MacOS Tahoe v27.2
VM (Client): Windows 11 Pro (AArch64), 26H2.26300.9818(10.0)
Windows Display: Main=MacBook 4112 x 2570 @200%; External 3840 x 2160 @125%
-
admin
- Site Admin
- Posts: 67270
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Scripting: Bitwise?
You want to retrieve the file attributes of items? Not possible yet.
Also bitwise comparison operators are not existing yet.
Also bitwise comparison operators are not existing yet.
FAQ | XY News RSS | XY X
-
TheQwerty
- Posts: 4373
- Joined: 03 Aug 2007 22:30
Re: Scripting: Bitwise?
admin wrote:You want to retrieve the file attributes of items? Not possible yet.
Code: Select all
Report('{attr}|', $items);-
admin
- Site Admin
- Posts: 67270
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Scripting: Bitwise?
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);
FAQ | XY News RSS | XY X
-
TheQwerty
- Posts: 4373
- Joined: 03 Aug 2007 22:30
Re: Scripting: Bitwise?
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.
-
admin
- Site Admin
- Posts: 67270
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Scripting: Bitwise?
OK, done. 
Attr: File Attributes, in the follow order:
Attr: File Attributes, in the follow order:
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 = ENCRYPTEDFAQ | XY News RSS | XY X
XYplorer Beta Club