Difference between revisions of "Command:Test"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
== Syntax == | == Syntax == | ||
+ | {{CMD-DR|Test|Newbie|Beginner|Newbie|Beginner}} | ||
<tt>Test [parameters ...]</tt> | <tt>Test [parameters ...]</tt> | ||
Revision as of 23:22, 12 March 2005
Syntax
Test | |
Usage | Newbie |
Level of Understanding | Beginner |
Computer Savvy | Newbie |
Logic | Beginner |
Test [parameters ...]
Description
Displays the number of parameters given, and each parameter individually. This command is generally used in place of other commands to see how the parameters are passed to the command.
Examples
Example 1
- Input
Test ${System.OS}
- Output
Console Command Tester Arguments: 4 Argument 0: 'test' Argument 1: 'Microsoft' Argument 2: 'Windows' Argument 3: 'XP'
Example 2
- Input
Test "${System.OS}"
- Output
Console Command Tester Arguments: 2 Argument 0: 'test' Argument 1: 'Microsoft Windows XP'