tldr/pages/windows/cipher.md

17 lines
390 B
Markdown
Raw Normal View History

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