1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 17:22:10 +02:00
tldr/pages/windows/cipher.md
2020-12-29 12:02:05 +00:00

390 B

cipher

Encrypt or decrypt files on NTFS drives. More information: https://docs.microsoft.com/windows-server/administration/windows-commands/cipher.

  • Encrypt a file or directory:

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

  • Decrypt a file or directory:

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

  • Securely remove a file or directory:

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