Professional Documents
Culture Documents
Windows para Dumicon
Windows para Dumicon
about_Special_Characters
SHORT DESCRIPTION
Describes the special characters that you can use to control how
Windows PowerShell interprets the next character in a command or parameter.
LONG DESCRIPTIONdsfdsfdsfdsf
Windows PowerShell supports a set of special character sequences that
are used to represent characters that are not part of the standard
character set.
`0 Null
`a Alertdfsfdfsd
`b Backspace
`f Form feed
`n New line
`r Carriage return
`t Horizontal tab
`v Vertical tab
NULL (`0)
Windows PowerShell recognizes a null special character (`0) and represents
it with a character code of 0. It appears as an empty space in the
Windows PowerShell output. This allows you to use Windows PowerShell to
read and process text files that use null characters, such as string
termination or record termination indicators. The null special character
is not equivalent to the $null variable, which stores a value of NULL.
ALERT (`a)
The alert (`a) character sends a beep signal to the computer's speaker.
You can use this to warn a user about an impending action. The following
command sends two beep signals to the local computer's speaker:
BACKSPACE (`b)
The backspace character (`b) moves the cursor back one character, but it
does not delete any characters. The following command writes the word
"backup", moves the cursor back twice, and then writes the word "out"
(preceded by a space and starting at the new position):
"backup`b`b out"
The output from this command is as follows:
back out
The following example shows how to use the new line character in a
Write-Host command:
here.
For example:
For example, the following command inserts two tabs between each
column.
"Column1`t`tColumn2`t`tColumn3"
SEE ALSO
about_Quoting_Rules
about_Escape_Characters