Description
Generates an HTML Application (.HTA) file that executes a specified command when opened with mshta.exe.
Overview
Generates an HTA file that silently runs the specified command via WScript.Shell when opened. HTA files bypass PowerShell execution policy and run as a trusted mshta.exe process.
Parameters
| Name | Type | Description |
|---|---|---|
| Command | string | The command to execute. |
| Title | string | HTA application name and window title. Default: Microsoft Help. |
