Ytria logo DOCUMENTATION
⚠ This page requires javascript enabled in browser
Automation / All products Automation / Global Actions

 

Tag: ShellExecute


The action ShellExecute will permit Windows to execute external operations upon reaching this script line.

<ShellExecute FilePath = "C:\windows\notepad.exe"/>

Tag Attributes

AttributesAttribute ValueValue DescriptionComment
FilePathUser definableThe file path of the operation to executeMandatory


Note
  • FilePath will validate if both the folder path is correct and the file itself exists.

Example Script

<?xml version="1.0" encoding="UTF-8"?>
<ytriaAutomation Application="scanEZ" ApplicationVersion="16.5" standalone="no">
<ShellExecute FilePath="C:\windows\notepad.exe"/>
</ytriaAutomation>

In the script above, ShellExecute will trigger the execution of "C:\Windows\notepad.exe" externally.