Files
tldr/pages.zh/windows/cipher.md

625 B
Raw Permalink Blame History

cipher

显示或更改 NTFS 卷上目录和文件的加密。 更多信息:https://learn.microsoft.com/windows-server/administration/windows-commands/cipher

  • 显示特定加密文件或目录的信息:

cipher /c:{{path\to\file_or_directory}}

  • [e]ncrypt加密一个文件或目录后来添加到该目录的文件也会被加密因为该目录已被标记为加密

cipher /e:{{path\to\file_or_directory}}

  • [d]ecrypt解密一个文件或目录

cipher /d:{{path\to\file_or_directory}}

  • 安全地删除一个文件或目录:

cipher /w:{{path\to\file_or_directory}}