删除锁定的文件夹窗口7 [英] delete locked file folder windows 7
本文介绍了删除锁定的文件夹窗口7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,
我想知道是否有任何vb / c#/ C ++教程/链接向我展示如何删除被Windows 7锁定的文件和文件夹,以绕过所有权和错误等因为你必须拥有< username>的许可,我已经下载了一个小的免费实用程序,这是正确的,但我想知道他们是如何做到的。
Kyriakos
Hello,
I am wondering if there is any tutorial/link for vb/c#/C++ to show me how to delete files and folders that are lockedby windows 7, to bypass ownership and errors such as "you must have the permission of <username>", I have downloaded a small free utility which is doing it correct but I am wondering how they do it.
Kyriakos
推荐答案
您需要获取受OS保护的文件的所有权。
这里 [ ^ ]描述了如何在C ++中使用API
you need to take ownership of the files protected by the OS.
Here[^] is described how to use the API''s in C++
这篇关于删除锁定的文件夹窗口7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文