You are here: SwitchKit® Development Environment - Installation and Maintenance Guide > 2 Installation > Setting Environment Variables on Windows® XP

Setting Environment Variables on Windows® XP

This procedure explains how to set an environment variable using the System Variables option on Windows® XP. The environment variable, SK_LOG_DIR, is used as an example in this procedure.

Before you begin

Create the directory to store the log files, C:\Program Files\Excel Switching Corporation\SwitchKit\Log. If you are updating or reinstalling SwitchKit this directory is already there. The log files are written into the directory based on the Environment Variable SK_LOG_DIR.

Setting SK_LOG _DIR

Follow this procedure to set the SK_LOG_DIR Environment Variable.

If you are updating or reinstalling your SwitchKit installation, this environment variable should already be set on your system.

Do not define environment variables as User variables. You need to set environment variables in the Control Panel ®System variables to run SwitchKit successfully as Windows NT Services.

1 Log on using an administrative account.

2 Go to Control Panel®System.

3 Select the tab Advanced.

4 Select the button Environment Variables.

5 If this is your initial setup, click New below the System variables field and continue with Step 7. Otherwise, refer to Step 6.

6 If you want to change the variable settings, click Edit below the System variables field.

7 In the field Variable Name type SK_LOG_DIR.

8 In the field Variable Value type C:\Program Files\Excel Switching Corporation\SwitchKit\Log.

9 Click OK to close the New System Variable or E dit System Variable dialog box.

10 Click OK to close the Environment Variables dialog box.

11 Click OK to close the System Properties dialog box.

12 Then close the Control Panel.