
about_Escape_character

简短说明
    更改 Windows PowerShell 对字符的解释

详细说明

    抑音符 (`) 在 Windows PowerShell 中具有特殊的含义：

    *   它指示其后的字符应原样传递给命令而不能替换。
    *   当用于脚本中行的结尾处（亦即其后没有其他字符）时，它指示 PowerShell 
        继续从下一行读取命令行。
    *   当用于引号内时，它指示其后字符应解释为特殊字符。例如，`n 表示“转行”
        字符，该字符指示 PowerShell 从该字符处开始转行；而 `t 表示制表符，它
指示下一字符应与下一列的左侧对齐，默认情况下为八个字符宽。

    以下为 Windows PowerShell 能够识别的特殊字符：

    `'    单引号
    `"    双引号
    `0    空值
    `a    警报
    `b    退格
    `f    换页
    `n    新行
    `r    回车
    `t    水平制表
    `v    垂直制表

    示例

        C:\> Write-Host "backup`b`bout"
        backout

        C:\>Write-Host "Break the line `nhere"
        Break the line
        Here

        C:\> Write-Host "Hi, `"Jim`""
        Hi, "Jim"

        C:\> Write-Host "12345678123456781`nCol1`tColumn2`tCol3"
        12345678123456781
        Col1    Column2 Col3

    在名为 test.ps1: 的脚本中：

        Write-Host `
        "This shows the line continuation character."

        c:\>test.ps1
        This shows the line continuation character.


