创建文件夹并使其对用户不可见 [英] Creating folder and make it invisible to the user
问题描述
你好,
我试图隐藏音乐库(我的音乐)中的文件夹。
我将属性设置为隐藏对于创建的文件夹。
我无法使用UWP使其隐藏,但它可以在控制台应用程序上运行。
提前致谢。
Hello,
I tried to hide a folder in the Music library(My Music).
I set the attribute as Hidden for the created folder.
I am not able to make it invisible using UWP but its works on the console application.
Thanks in advance.
推荐答案
嗨 okitdeveloper,
Hi okitdeveloper,
对于UWP应用,它默认可以访问某些文件系统位置,音乐库是一个Windows Shell库,它从单个文件夹中的多个目录中收集文件,你不能在音乐文件夹中使用直接文件访问,你可以从 文件访问权限 以及此
博客。
For UWP app, it can access certain file system locations by default, the Music Library is a Windows Shell Library which collects files from multiple directories in a single folder, you can’t use direct file access in the music folder, you can learn more from File access permissions and this blog.
最好的问候,
Breeze
这篇关于创建文件夹并使其对用户不可见的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!