有没有办法将多个命令输出复制到剪贴板? [英] Is there a way to copy multiple command output to clipboard?

查看:10
本文介绍了有没有办法将多个命令输出复制到剪贴板?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有 4 个命令链接在一起,我想一次将所有四个命令的输出复制到剪贴板(基本上将剪贴板附加到每个命令的输出).这可能吗.我正在运行的命令是这样的.

I have 4 commands chained together and I want to copy the output of all four of them to the clipboard at once (basically append the clipboard with the output of each). Is this possible. The command I am running is this.

ipconfig | findstr "IPv4" & systeminfo | findstr /B /C:"OS Name" /C:"OS      Name" & wmic cpu get caption & wmic diskdrive get model & wmic diskdrive get size 

推荐答案

我想你会这样做:

(command1 & command2 & command3 ) | clip

这篇关于有没有办法将多个命令输出复制到剪贴板?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆