跳至主要內容
  • 簡單快速地下訂單
  • 檢視訂單及追蹤商品運送狀態
  • 建立並存取您的產品清單

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
                                             

對此內容評分

準確
實用
易懂
這篇文章對您有用嗎?
0/3000 characters
  請給予評分 (1 到 5 顆星)。
  請給予評分 (1 到 5 顆星)。
  請給予評分 (1 到 5 顆星)。
  本文章是否有幫助?請選擇。
  評語中不得包含下列特殊字元:<>()\