tldr/pages/windows/cipher.md

17 lines
390 B
Markdown
Raw Normal View History

2019-10-04 21:36:01 +01:00
# cipher
> Encrypt or decrypt files on NTFS drives.
2020-12-22 13:24:30 +00:00
> More information: <https://docs.microsoft.com/windows-server/administration/windows-commands/cipher>.
2019-10-04 21:36:01 +01:00
- 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}}`