However, this option isn??™t available in Server Core, so you must either set the environment
variables in the registry directly or use a command line utility to perform the task.
When working at the command line, you can choose between creating session or permanent
environment variables. Use the Set and SetX commands to create session environment variables
(see the ???Managing Environment Variables with the Set Command??? and ???Managing Environment
Variables with the SetX Utility??? sections of Chapter 5 for details). Use the WMIC Environment command
to create permanent environment variables for the current user (see the ???Configuring Server
Core Using the WMIC Command??? section of Chapter 3 for details). You can??™t create permanent
system-level environment variables at the command line.
Permanent environment variables are those that exist between reboots. Once you set them, you
can depend on them remaining in place until you change them. A user-level environment variable
affects only the current user. You??™ll find these environment variables in the HKEY_CURRENT_USER\
Environment key. The default environment variables include Path, TEMP, and TMP.
Pages:
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263