Lenovo ThinkPad Edge 15 User Manual
Page 146

Table 37. Antidote Delivery Manager commands (continued)
Commands
Description
XMLtool for Conditionals
Conditionals (eGatherer, current hardware information)
• Usage: xmltool.exe filenamexpathfunctioncomparatorvalue where:
– filenameThe path and filename to the XML file
– xpathThe fully qualified xpath to the value
– functionThis must be one of the following values:
– /C, compare the values (comparator and value must also be
supplied)
– /v , put the specified value into %SWSHARE%\RET.TXT
– Comparator:Must be one of the following:
– LSS
– LEQ
– EQU
– GTR
– GEQ
– NEQ
– Value:The XML entry is compared to this value.
• Return Values:
– 0Comparison evaluates to true (/c)
– 1Comparison evaluates to false
– 2Incorrect command line parameters
– 3Error opening XML file (not present or file has errors)
– 4Specified XPATH returned no value
XMLtool for Conditionals
• Example:
xmltool.exe %swshare%\\lenovoegath.xml
//system_summary/bios_version /C GEQ 1UET36WW
INRR
The INRR command can be used to determine if the script is running
in the Rescue and Recovery environment. Return values are:
• 0 = Current OS PE
• 1 = Current OS is not PE
• >1 = Error
138
Rescue and Recovery 4.23 Deployment Guide