Description
Takes in a path to a file and generates a Windows Shell Binary Format (.LNK) file to execute it.
Overview
This pipeline embeds the specified command inside of a a Windows Shell Binary Format (.LNK) file. When the LNK file is launched (either via double-clicking on the icon or through some other mechanism such as Startup Folder persistence), the operator provided command will be executed.
Parameters
| Parameter | Type | Description |
|---|---|---|
| Command | string | The command that will be run when the LNK file is executed. If not using cmd.exe to execute, the full path to the target executable must be provided. |
| UseCommandPrompt | boolean | If true, the specified command will be executed by cmd.exe. This is useful if you are not using the full path to the binary. If you want the LNK file to launch the target file directly, then leave this parameter false and provide a full path to the target executable. |
| ShowCommand | Enum | Specifies how the target executable should be show (e.g. SW_HIDE, SW_SHOWMINIMIZED, or SW_SHOWMAXIMIZED). |
