[CMD] Document the two extra file attributes the enhanced batch/FOR variables %~aX could handle on Windows >= 8.

They are currently specified for documentation purposes (i.e. what
Windows 8+ CMD.EXE can report) but not used yet, since ReactOS does not
support them.
This commit is contained in:
Hermès Bélusca-Maïto 2020-07-04 22:19:45 +02:00
parent 95466904db
commit c58a601602
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -1143,6 +1143,10 @@ GetEnhancedVar(TCHAR **pFormat, LPTSTR (*GetVar)(TCHAR, BOOL *))
{ _T('o'), FILE_ATTRIBUTE_OFFLINE },
{ _T('t'), FILE_ATTRIBUTE_TEMPORARY },
{ _T('l'), FILE_ATTRIBUTE_REPARSE_POINT },
#if (NTDDI_VERSION >= NTDDI_WIN8)
{ _T('v'), FILE_ATTRIBUTE_INTEGRITY_STREAM },
{ _T('x'), FILE_ATTRIBUTE_NO_SCRUB_DATA /* 0x20000 */ },
#endif
};
for (Attrib = Table; Attrib != &Table[ARRAYSIZE(Table)]; Attrib++)
{