Execute Commands

The following are the three ways to execute Windows commands.

Here, each execution method will be explained.


Execute a batch file using the "Launch application" action

Execute a batch file using the "Launch application" action.

../../../_images/1_1.en4.png

  1. Create a batch file.

    As an example, use a batch file that will create a new folder and text file.

    ../../../_images/1_2.en2.png

  2. Specify the batch file through the "Launch application" action.

    ../../../_images/1_3.en.png

With this method, you can execute a command described in the batch file with 1 action.

Execute the command from the "Specify file name and execute" dialog

With this method, the command from the "Specify file name and execute" dialog is executed in combination with multiple actions.

../../../_images/2_1.en4.png
If this method is used, you can specify the parameters in the batch file.
In addition, you can execute the command on its own without a batch file.

Launch the command prompt and execute the command

This method combines multiple actions to execute command by typing it into the command prompt.

  1. Set the command to be executed.

    Here, the following series of commands that were set in the cell are to be executed.

    ../../../_images/3_1.en4.png

  2. Set in such a way that the command prompt window will be displayed.

    ../../../_images/3_2.en2.png

  3. Set in such a way that the command to be executed will be set on the clipboard.

    ../../../_images/3_3.en1.png

  4. Set in such a way that the command will be pasted to the command prompt from the clipboard.

    ../../../_images/3_4.en1.png

If you add the execution of the command to terminate the program after the above process, the action set will be as follows.

../../../_images/3_5.en1.png
If you use this method, you can execute multiple commands that have been set in a cell all at once.
After executing the specified command, you can additionally execute another command while taking over the current directory and environment variable.