从资源管理器中隐藏文件夹 [英] Hiding the Folder from explorer

查看:113
本文介绍了从资源管理器中隐藏文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我希望隐藏资源管理器中的文件夹和文件。我怎样才能实现这一目标...

i am looking to hide the folders and file from the explorer . how can i achieved this ...

请帮帮我..

问候

sarrfaraz 

sarrfaraz 

推荐答案

有一个  SetFileAttributes函数,其中包含不同类库(MFC,.Net等)中的许多包装类,默认情况下会隐藏文件(可以在文件夹选项中更改隐藏文件的可见性)。

There's a SetFileAttributes function which many wrapper classes in different class libraries (MFC, .Net etc) that will make the file hidden by default (visibility of hidden files can be changed in folder options).

A无论你怎么努力,确定的用户都会看到该文件。

A determined user is going to see the file, no matter how hard you try.


这篇关于从资源管理器中隐藏文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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