A system-level environment variable affects everyone that uses the system. You??™ll find these
environment variables in the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\
Session Manager\Environment key. The default environment variables include comspec,
FP_NO_HOST_CHECK, lib, NUMBER_OF_PROCESSORS, OS, Path, PATHEXT, PROCESSOR_ARCHITECTURE,
PROCESSOR_IDENTIFIER, PROCESSOR_LEVEL, PROCESSOR_REVISION, TEMP, TMP, and windir.
Each environment variable appears as a separate value under its respective key. Use the
following procedure to add a new environment variable.
1. Right-click the appropriate key.
2. Choose New String Value from the context menu.
3. Type the name of the environment variable you want to create and press Enter.
4. Double-click the new environment variable. You??™ll see the Edit String dialog box.
5. Type the value you want in the Value Data field of the Edit String dialog box.
6. Click OK to complete the process.
At this point, you can use the environment variable as you would any other environment variable.
You can also export your environment variables and import them into the registry on a similarly
configured machine.
Pages:
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264