Submit a ticketCall us

Training Class Getting Started with SolarWinds Backup - February 28

This course offers customers an introduction to SolarWinds Backup, focusing on configuring the backup technology, taking backups, data restoration and data security. It is a great primer and will get you up to speed quickly on SolarWinds Backup.
Register for class.

Home > Success Center > Kiwi Syslog Server > Kiwi Syslog Server Administrator Guide > Scripting resources > JScript escape characters

JScript escape characters

Table of contents
No headers

Use the following escape characters in JScript scripts. Any escape sequence not included in this table simply codes for the character that follows the backslash in the escape sequence. For example, "\a" is interpreted as "a".

Since the backslash itself represents the start of an escape sequence, you cannot directly type one in your script.

If you want to include a backslash, you must type two sequential characters (\\).

For example:

The log file path is C:\\Program Files\\Syslogd\\Logs\\SyslogCatchAll.txt

The single quote and double quote escape sequences can be used to include quotes in string literals.

For example:

The caption reads, \"This is a test message from \'Kiwi SyslogGen\'.\"

Escape sequence Meaning
\b Backspace
\f

Form feed (rarely used)

 

Line feed (newline)

 

Carriage return. Use with the line feed () to format output.

 

Horizontal tab

\v

Vertical tab (rarely used)

\'

Single quote (')

\"

Double quote (")

\\

Backslash (\)

 

ASCII character represented by the octal number n. *

\xhh

ASCII character represented by the two-digit hexadecimal number hh.

\uhhhh

Unicode character represented by the four-digit hexadecimal number hhhh.

Last modified

Tags

Classifications

Public