Powershell 的转义字符是 ·, 是tab键上面的按键,不是单引号。
下表罗列了常用的转义字符。
Escape Character | Description |
---|---|
`’ | Single quote |
`” | Double quote |
`0 | Null |
`a | Alert |
`b | Backspace |
`f | Form feed |
`n | Newline |
`r | Carriage return |
`t | Horizontal tab |
`v | Vertical tab |
Powershell 的转义字符是 ·, 是tab键上面的按键,不是单引号。
下表罗列了常用的转义字符。
Escape Character | Description |
---|---|
`’ | Single quote |
`” | Double quote |
`0 | Null |
`a | Alert |
`b | Backspace |
`f | Form feed |
`n | Newline |
`r | Carriage return |
`t | Horizontal tab |
`v | Vertical tab |