Click here to return to the KiXtart HelpDesk main page...

Running KiXtart from a Batch File

You can run Kix32.exe from a batch file that is used as the logon script for the user. For example, if Kix32.exe is in the root directory of the NETLOGON share, the batch file might contain the following commands:

@ECHO OFF
%0\..\Kix32.exe

Note

Use of the syntax %0\..\ is discussed in Knowledge Base article Q121387.

If you installed Kix32.exe on the client's local hard disk, you must refer to the local directory, for example: C:\KiXtart\Kix32.exe. By default, KiXtart automatically looks for a personal script for the current user (Username.kix). If it does not find one, it looks for the default script, KiXtart.kix. You can override this behavior by specifying one or more scripts after Kix32.exe on the commandline. If you do not specify an extension, KiXtart attempts to use two default extensions: .kix and .scr.

KiXtart also supports declaring variables at the command prompt, demonstrated in the following example:

kix32 Demo.kix $Key=HKEY_LOCAL_MACHINE\Software

For information about valid variable names and values, see “Dynamic Program Variables” later in this document.

Note

On computers running Windows 9x, you can also start KiXtart by using Lmscript emulation. For more information, see “Lmscript Emulation” later in this document.