[英]Remove new line when echo '<'$env:UserName'>'
is there a way to remove a new line when running this command: 运行此命令时,有没有办法删除新行:
echo '<'$env:UserName'>'
When I type that I get output: 当我输入时,我得到输出:
<
username>
I want it to be <username>
without the break. 我希望它是<username>
而不会中断。 Like this: 像这样:
<username>
只是:
echo "<$env:UserName>"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.