1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.zh/windows/clip.md

13 lines
337 B
Markdown
Raw Normal View History

2019-03-10 22:05:47 +08:00
# clip
> 将输入的内容复制到 Windows 的剪贴板。
> 更多信息:<https://docs.microsoft.com/windows-server/administration/windows-commands/clip>.
2019-03-10 22:05:47 +08:00
- 用管道将命令的输出内容复制到 Windows 剪贴板:
2019-03-10 22:05:47 +08:00
`{{dir}} | clip`
- 将一个文件中的内容复制到 Windows 剪贴板:
2019-03-10 22:05:47 +08:00
`clip < {{文件的路径}}`