FILE_ATTRIBUTE_ARCHIVE的等效shell常量 [英] Equivalent shell constant for FILE_ATTRIBUTE_ARCHIVE

查看:100
本文介绍了FILE_ATTRIBUTE_ARCHIVE的等效shell常量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下链接包含文件属性和文件属性常量的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屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆