• Reading NTFS file attributes

    From Peter Percival@21:1/5 to All on Wed May 31 20:13:54 2017
    Here http://www.pcguide.com/ref/hdd/file/ntfs/files_Attr.htm there is a
    list of NTFS file attributes. Is there some way I can read them given a filename?
    --
    Do, as a concession to my poor wits, Lord Darlington, just explain
    to me what you really mean.
    I think I had better not, Duchess. Nowadays to be intelligible is
    to be found out. -- Oscar Wilde, Lady Windermere's Fan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From jacobnavia@21:1/5 to All on Wed May 31 23:36:40 2017
    Le 31/05/2017 à 21:13, Peter Percival a écrit :
    Here http://www.pcguide.com/ref/hdd/file/ntfs/files_Attr.htm there is a
    list of NTFS file attributes. Is there some way I can read them given a filename?

    https://msdn.microsoft.com/en-us/library/windows/desktop/aa364944(v=vs.85).aspx

    GetFileAttributes function
    Retrieves file system attributes for a specified file or directory.

    To get more attribute information, use the GetFileAttributesEx function.
    To perform this operation as a transacted operation, use the GetFileAttributesTransacted function.
    Syntax

    DWORD WINAPI GetFileAttributes(LPCTSTR lpFileName);

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)