Difference between revisions of "Setenv"

From SpybotWiki
Jump to: navigation, search
(added info box)
m (Description: added templates)
Line 16: Line 16:
 
===Description===
 
===Description===
 
This parameter can be used to store certain values in environment variables that are retained throughout the [[OpenSBI]] file.
 
This parameter can be used to store certain values in environment variables that are retained throughout the [[OpenSBI]] file.
 +
 +
It allows the following special templates for properties unknown at design time:
 +
 +
* ''<$FILENAME>'' to set the variable to the filename, excluding its path;
 +
* ''<$FILEPATH>'' to set the variable to the file path, excluding its name;
 +
* ''<$FULLPATH>'' to set the variable to the file path and filename;
 +
* and ''<$MD5>'' to set the variable to the files MD5 hash.
  
 
==See also==
 
==See also==

Revision as of 10:49, 6 May 2008

setenv
Variants setenv
Previously
Group Flow Control
Version advcheck.dll ??? < 1.5.4.5

Sets a global environment variable.

Usage

setenv=<name(string)>:<value(string)>

Examples

setenv=greeting:Hello

Description

This parameter can be used to store certain values in environment variables that are retained throughout the OpenSBI file.

It allows the following special templates for properties unknown at design time:

  • <$FILENAME> to set the variable to the filename, excluding its path;
  • <$FILEPATH> to set the variable to the file path, excluding its name;
  • <$FULLPATH> to set the variable to the file path and filename;
  • and <$MD5> to set the variable to the files MD5 hash.

See also

Similar parameters

Similar commands