我有一个硬盘驱动器,我需要从中恢复特定文件,但 K:\ 驱动器中的所有文件夹都拒绝我访问,即使我拥有完整驱动器 IE 的所有权
C:\Windows\System32>takeown /FK:\ 这允许我访问驱动器并查看文件夹,但之后我无法访问任何文件夹。
有没有一种方法可以使用 Takeown 将所有权应用于驱动器上的每个目录>
我使用的是Windows 11。在终端中,常用的Linux命令不可用。因此,诸如chmod和vim之类的命令会返回如下命令行错误:
vim : The term 'vim' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ vim ~/.bashrc
+ ~~~
+ CategoryInfo : ObjectNotFound: (vim:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Run Code Online (Sandbox Code Playgroud)
我怎样才能解决这个问题?我时隔十年才使用 Windows,请多多包涵!
cacls ×1
cmd.exe ×1
command-line ×1
powershell ×1
security ×1
terminal ×1
windows ×1
windows-11 ×1
windows-7 ×1