手机
当前位置:查字典教程网 >脚本专栏 >PowerShell >PowerShell中的转义字符是什么?
PowerShell中的转义字符是什么?
摘要:PowerShell中转义字符是`,向后撇号(backwardapostrophe,是tab键上面的按键,不是单引号),例如:复制代码代码如...

PowerShell中转义字符是`,向后撇号(backward apostrophe,是tab键上面的按键,不是单引号),例如:

复制代码 代码如下:

Write-Host `$env:processor_architecture=$env:processor_architecture

会输出$env:processor_architecture=AMD64

当然还有一个转义字符是在正则表达式(Regular Expression)中使用的,斜线。

【PowerShell中的转义字符是什么?】相关文章:

PowerShell函数中的开关参数介绍和创建实例

PowerShell实现的文件同步脚本分享

PowerShell中使用GetType获取变量数据类型

PowerShell小技巧之从函数中返回多个值

Powershell小技巧之获取字符串的行数

PowerShell脚本开发之收发UDP消息包

PowerShell脚本中查看网卡的高级属性

PowerShell脚本开发之批量扫描IP和端口

PowerShell数组的一些操作技巧

PowerShell实现批量重命名文件

精品推荐
分类导航