1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/windows/cipher.md
Emily Grace Seville c52cc074d9
windows/*.md: make placeholders more compatible with CLIP ones (#9872)
* Make placeholders more compatible with CLIP ones

* Update pages/windows/doskey.md

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

* Update pages/windows/doskey.md

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

---------

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
2023-02-20 15:23:49 +08:00

20 lines
623 B
Markdown

# cipher
> Display or alter the encryption of directories and files on NTFS volumes.
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/cipher>.
- Display information about a specific encrypted file or directory:
`cipher /c:{{path\to\file_or_directory}}`
- [e]ncrypt a file or directory (files added later to the directory are also encrypted as the directory is marked):
`cipher /e:{{path\to\file_or_directory}}`
- [d]ecrypt a file or directory:
`cipher /d:{{path\to\file_or_directory}}`
- Securely remove a file or directory:
`cipher /w:{{path\to\file_or_directory}}`