Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell OpenManage Deployment Toolkit Version 4.3 Command Line Interface Reference Guide

PDF

--envar

Options
--envar
Sub-Options NA
Valid Arguments < valid filename> < valid path> media should be writable
Description Stores the environment variable data to a file when used with the – s option. This file can be called from other scripts to set the environment variable. The value of < filename> must not be specified if the DTKENVSCR environment variable is set to a valid filename. In this case, the filename pointed to by DTKENVSCR is used to store the environment variable data.

Example:

syscfg --mem -s=temp --envar= Z:\scripts\file.bat

When used without the -s option, --envar takes the default variable.

Linux Example:

syscfg --svctag --envar= /tmp/myvars.txt 
                                                svctag = 2G8LC1S
                                                syscfg_var =’2G8LC1S’
                                                source /tmp/myvars.txt
                                             

Windows PE Example:

syscfg --svctag --envar=i:\myvars.bat
                                                svctag = 2G8LC1S
                                                syscfg_var =’2G8LC1S’
                                                call i:\myvars.bat
                                             

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\