Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Procedure: Define your step and add 4 commands in the OS Native Command field.

Command Prompt:

Example (1): Typing a message using echo command

cmd or cmd.exe

/c

echo this is a test

Your step will look like this:

...

...

On execution, your result will look like this:

...

Example (2): Retrieving the default username on Windows for dynamic file verification purposes. This can be done by adding the commands below. Note that this will send a value back, so Variable option should be picked on the command and a variable name provided.

cmd or cmd.exe

/c

echo %username%

Your step will look like this:

...

On execution, your result will look like this:

...