Attribut Konstante Rechnung, wie ?
Verfasst: Di, 12. Feb 2019 10:06
hi,
man kann in Everything*** auch Attribute indizieren ...
im Suchbegriff kann man "attrib:Attribute" mit eingeben.
im Code steht als Request
nun habe ich aber mit der "Auswertung" der Attribute Problem denn es kommt ein numerischer Wert zurück
dafür gibt es wohl Konstanten s.h.
https://www.voidtools.com/es-es/soporte ... k/clarion/
das ist wohl HEX und 20h = dezimal 32 ... und was ist 33 oder 34
der Total Commander zeigt mir nur "A" aber kein "R"
die Frage ist nun wie "rechne" ich mit den Konstanten damit ich die Attribute bekomme
---
***https://www.voidtools.com/ für Xbase++ die 32Bit (!) Version wählen
man kann in Everything*** auch Attribute indizieren ...
im Suchbegriff kann man "attrib:Attribute" mit eingeben.
Code: Alles auswählen
"D:\ALASKA\*.* attrib:A"
Code: Alles auswählen
@Everything32:Everything_SetRequestFlags( nor( EVERYTHING_REQUEST_FULL_PATH_AND_FILE_NAME, EVERYTHING_REQUEST_ATTRIBUTES ) )
Code: Alles auswählen
FOR n := 1 TO nNum
buf := SPACE( bufsize )
@Everything32:Everything_GetResultFullPathNameA( n-1, @buf, bufsize )
nAttribut := @ Everything32:Everything_GetResultAttributes(n-1)
https://www.voidtools.com/es-es/soporte ... k/clarion/
Code: Alles auswählen
EVERYTHING_FILE_ATTRIBUTE_READONLY EQUATE(0001h)
EVERYTHING_FILE_ATTRIBUTE_HIDDEN EQUATE(0002h)
...
EVERYTHING_FILE_ATTRIBUTE_ARCHIVE EQUATE(0020h)
die Frage ist nun wie "rechne" ich mit den Konstanten damit ich die Attribute bekomme
---
***https://www.voidtools.com/ für Xbase++ die 32Bit (!) Version wählen