5.4.1 Executable commands
The following types of commands can be executed as automated actions:
- On a Windows host:
-
-
Executable file (.com or .exe)
-
Batch file (.bat)
-
Script file of JP1/Script (.spt) (provided the .spt file extension is associated with JP1/Script so that it can be executed)
-
- On a UNIX host:
-
-
UNIX command
-
Shell script
-
However, the following types of commands cannot be executed:
-
Commands that require interactive operation
-
Commands that display windows
-
Commands that use an escape sequence or control code
-
Non-terminating commands such as daemons
-
Commands (Windows only) that require interaction with the desktop, such as the Windows message structure or DDE
-
Commands that shut down the OS, such as shutdown and halt
- Important note
-
In Windows Vista (x64), Windows Server 2008 (x64), Windows 7 (x64), Windows Server 2012 (x64), Windows 8 (x64), and Windows 8.1 (x64), if you execute a command in the %WINDIR%\System32 folder, the WOW64 redirection function redirects the command. The WOW64 redirection function redirects the command to a command in the %WINDIR%\SysWow64 folder. If the command is not found in the destination folder, command execution might fail. Therefore, be careful when you specify a command in the %WINDIR%\System32 folder as the execution command.