1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 17:46:02 +02:00
tldr/pages.zh/windows/clip.md

12 lines
238 B
Markdown
Raw Normal View History

2019-03-10 22:05:47 +08:00
# clip
> 将输入的内容复制到 Windows 的剪贴板。
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 < {{文件的路径}}`