FILE_ATTRIBUTE_ARCHIVE的等效shell常量 [英] Equivalent shell constant for FILE_ATTRIBUTE_ARCHIVE
问题描述
以下链接包含文件属性和文件属性常量的shell常量(SFGAO_ *)。
https://docs.microsoft.com/ja-jp/ windows / desktop / shell / sfgao
https://docs.microsoft.com/ja-jp/windows/desktop/FileIO/file-attribute-constants
在shell常量中,文件属性常量没有等效值' FILE_ATTRIBUTE_ARCHIVE ' 。
' FILE_ATTRIBUTE_ARCHIVE '?
谢谢。
在shell常量中,文件没有等效值属性常量'FILE_ATTRIBUTE_ARCHIVE'。
$
'FILE_ATTRIBUTE_ARCHIVE'的等效shell常量是什么?
据我所知不是一个。据推测,非文件系统shell项目没有等效概念。
您可以检测到shell项目是文件系统项目(SFGAO_FILESYSTEM),然后使用Win32 API获取文件属性。
Dave
The below link has the shell constants (SFGAO_*) for file attributes and file attributes constants.
https://docs.microsoft.com/ja-jp/windows/desktop/shell/sfgao
https://docs.microsoft.com/ja-jp/windows/desktop/FileIO/file-attribute-constants
in the shell constants, there is no equivalent value for file attribute constant 'FILE_ATTRIBUTE_ARCHIVE'.
What is the equivalent shell constant for 'FILE_ATTRIBUTE_ARCHIVE'?
Thanks.
in the shell constants, there is no equivalent value for file attribute constant 'FILE_ATTRIBUTE_ARCHIVE'.
What is the equivalent shell constant for 'FILE_ATTRIBUTE_ARCHIVE'?As far as I know there isn't one. Presumably there's no equivalent concept for non-filesystem shell items.
You could detect that the shell item is a file system one (SFGAO_FILESYSTEM), then use a Win32 API to get the file attributes.
Dave
这篇关于FILE_ATTRIBUTE_ARCHIVE的等效shell常量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!