setenv

From SpybotWiki
Revision as of 10:49, 6 May 2008 by CCRDude (talk | contribs) (Description: added templates)
Jump to: navigation, search
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