Special Characters

Top  Previous  Next

 

Special Character expressions insert characters that could otherwise cause validation or execution problems within the script. For example, the colon character is used to delimit commands, so if you use it as part of a command parameter it would cause an error. Instead you can use the Constant Expression for the colon: %%Colon%% which will be ignored when the script is parsed but at runtime will be automatically replaced with the colon character.

 

Expression

Inserts

 

%%Ampersand%%

The ampersand character '&'

 

%%Asterisk%%

The asterisk character '*'

 

%%AtSign%%

The at sign character '@'

 

%%Backslash%%

The backslash character '\'

 

%%Caret%%

The caret character '^'

 

%%ClosingBrace%%

The closing brace character '}'

 

%%ClosingBracket%%

The closing bracket character ')'

 

%%ClosingSquareBracket%%

The closing square bracket character ']'

 

%%Colon%%

The colon character ':'

 

%%Dollar%%

The dollar character '$'

 

%%DoubleQuote%%

The quotation mark or double quote character '"'

 

%%Equals%%

The equals sign '='

 

%%Exclamation%%

The exclamation mark '!'

 

%%GreaterThan%%

The greater than sign '>'

 

%%Hash%%

The hash character '#'

 

%%Hyphen%%

The hyphen character '-'

 

%%LessThan%%

The less than sign '<'

 

%%NewLine%%

The new line character or character set for the current operating system environment

 

%%OpeningBrace%%

The opening brace character '{'

 

%%OpeningBracket%%

The opening bracket character '('

 

%%OpeningSquareBracket%%

The opening square bracket character '['

 

%%Percent%%

The percent sign '%'

 

%%Pipe%%

The pipe character '|'

 

%%Pound%%

The pound sign '£'

 

%%QuestionMark%%

The question mark character '?'

 

%%Quote%%

The single quote character '''

 

%%Semicolon%%

The semicolon character ':'

 

%%Slash%%

The slash character '/'

 

%%Tilde%%

The tilde character '~'

 

%%Underscore%%

The underscore character '_'

 

See Also: Date and Time Folder Locations Special Folder Locations Other Expressions