Get Exe Activity

Bronze Certified

Custom Activity

0 reviews

106

Get Exe Activity

Bronze Certified

Custom Activity

0 reviews

106


Summary

This activity retrieves the location of the exe file from the Windows registry and allows you to launch the target program

carouselImage0

Overview

The only input you need to provide is the exe name e.g if you want to launch chrome.exe then type chrome as a string.
With the help of this activity, your program launch path will be dynamic.

How to use:
  • If you want to get path of exe for Chrome: ExeName: "Chrome"
  • LaunchPath: output as string
  • It will return the exe path; if you want to open start program set StartProgram as True if not then False

Benefits


Published: Nov 27, 2020 | Updated: Dec 18, 2020

Mikolaj Zielinski
Digital Automation Operator

Wrocław, Poland


License

MIT


Code Language

C#, Visual Basic


Tags


Compatibility

The package was tested on Studio Pro 2020.10-2-beta.4


Dependencies

Microsoft.Win32