Lenovo ThinkPad R50p User Manual
Page 136

Table
36.
Antidote
Delivery
Manager
commands
(continued)
Commands
Description
XMLtool
for
Conditionals
Conditionals
(eGatherer,
current
hardware
information)
v
Usage:
xmltool.exe
filename
xpath
function
comparator
value
where:
–
filename
The
path
and
filename
to
the
XML
file
–
xpath
The
fully
qualified
xpath
to
the
value
–
function
This
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.
v
Return
Values:
–
0
Comparison
evaluates
to
true
(/c)
–
1
Comparison
evaluates
to
false
–
2
Incorrect
command
line
paramaters
–
3
Error
opening
XML
file
(not
present
or
file
has
errors)
–
4
Specified
XPATH
returned
no
value
XMLtool
for
Conditionals
v
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:
v
0
=
Current
OS
PE
v
1
=
Current
OS
is
not
PE
v
>1
=
Error
128
Rescue
and
Recovery
4.2
Deployment
Guide
- ThinkPad X40 ThinkPad X41 Tablet ThinkPad R61e ThinkPad R61i ThinkPad R51e 3000 C100 All-In-One THINKPAD X60 ThinkPad R52 THINKPAD X61 ThinkPad X60 Tablet THINKPAD T61 ThinkPad Z61e ThinkPad R50e ThinkPad X300 ThinkPad R51 ThinkPad T60 ThinkPad R61 ThinkPad X61 Tablet THINKPAD Z60M ThinkPad T61p ThinkPad X61s