home » help » variables
Additional Information
Follow on Twitter
Follow Kix2Exe on Twitter
New Version Notifier

You'll get notified as soon as new releases are out.

Note: Your e-mail address is only used to keep you informed about new releases.

Variables

On this page you can find information about the variables that are availabe to be used in your packaged KiXtart scripts. Use these variables in your scripts to get information about the name of the executable package, the location of the package etc.

kix2exe variables

The following variables are available to be used inside your KiXtart scripts:

Variable Description
$K2E_EXEName Contains the name of the package itself: ie. Logon.exe
$K2E_EXEParam Contains the string of commandline parameters specified when executing the executable package (you can use the K2E_GetParam() UDF to get their values).
$K2E_EXEPath Contains the full path where the package file resides, ie. C:\Myscripts.
$K2E_InExePackage True if the script is packaged with Kix2Exe.
$K2E_BalloonTipsEnabled True if the script was packaged with the /balloontips parameter specified, False if the parameter was not specified. Can be used to detect if the K2E_SetBalloonTips() UDF is available.
$K2E_KixformsEnabled True if the script was packaged with the /kixforms parameter specified.
$K2E_RunAsEnabled True if the script is packaged with the /runasuser parameter specified.