手机
当前位置:查字典教程网 >脚本专栏 >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脚本开发之批量扫描IP和端口

PowerShell一次打开多个文件的方法

PowerShell编程中的一些命名规则参考

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

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

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

PowerShell是什么?

PowerShell中使用return语句退出函数例子

精品推荐
分类导航