You can split words in a variable name using the underscore (_) or dash (-).
string Defines the value of the environment variable. If you type the environment variable,
followed by an equals sign (=), but without a value, the Set command deletes the environment
variable. Type the Set command followed by the environment variable without an equals sign
to determine the current environment variable value. In fact, you can type as little as a single letter
to see a list of environment variables and their associated values that begin with that letter.
/A expression Creates an environment variable based on an expression, such as a math
equation or the concatenation of multiple environment variables, instead of a standard string.
/P variable=[promptString] Prompts the user to assign a value to an environment variable,
rather than assigning the value directly. You must supply a variable name. The optional
prompt string lets you provide a specific prompt to the user. Otherwise, the display doesn??™t
show any prompt at all.
Server Core comes with a number of standard environment variables. These hard-coded environment
variables perform essential tasks, such as displaying the current directory for you.
Pages:
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338