Drive letter limitations and the use of variables, Drive, Letter – Lenovo ThinkPad R400 User Manual
Page 211: Limitations, Variables

Drive
letter
limitations
and
the
use
of
variables
The
ImageUltra
Builder
program
has
a
number
of
predefined
global
variables
that
you
can
use
in
batch
files
or
in
the
Command
and
Parameter
fields
in
the
ImageUltra
Builder
interface.
It
is
a
good
idea
to
avoid
hardcoding
drive
letters
and
to
use
the
provided
global
variables
instead
because
the
drive
letter
designations
can
change
based
on
whether
or
not
you
perform
a
direct-network
installation.
If
you
are
performing
a
standard
installation
(network,
CD,
USB
Key,
or
USB
hard
disk
drive
deployment
and
local
installation),
drive-letter
variables
are
converted
to
single-digit
drive
letters.
However,
if
you
are
performing
a
direct-network
installation,
where
a
network-staging
folder
is
used,
some
drive-letter
variables
are
converted
to
a
path
pointing
to
the
network
staging
folder,
which
could
be
very
long.
The
following
are
predefined
global
variables
for
the
staging
area:
v
%ROOT%:
This
variable
is
the
root
path
for
all
ImageUltra
Builder
deployment
and
installation
code.
The
default
value
is
C:
v
%ROOTDRIVE%:
This
variable
is
the
drive
letter
of
the
root
path.
The
default
value
is
C:
v
%IUTEMP%:
This
variable
defines
the
temporary
work
area.
The
default
value
is
C:\IUTEMP
v
%IUTEMPDRIVE%:
This
variable
is
the
drive
letter
of
the
path
for
the
temporary
work
area.
The
default
value
is
C:
v
%NETINSTALL%:
If
the
NETINSTALL
variable
is
defined
in
any
way,
the
process
assumes
that
it
is
running
from
the
network.
v
%RAMD%:
This
variable
defines
the
RAM
drive
used
by
the
ImageUltra
Builder
installation
process.
The
default
value
is
R:
v
%SPDRIVE%:
This
variable
defines
the
drive
letter
of
the
service
partition.
The
default
value
is
C:
v
%IULOG%:
This
variable
defines
the
folder
where
the
SNAPSHOT.BAT
file
moves
the
%IUTEMP%
at
the
end
of
the
ImageUltra
Builder
installation
process.
The
default
value
is
C:\LASTCFG.
v
%BOOTDRIVE%:
This
variable
defines
either
the
system
drive
or
the
ThinkVantage
Technology
drive,
depending
on
whether
the
operating
system
is
Windows
XP
or
Windows
Vista.
The
following
are
predefined
variables
for
the
\IUWORK
folder
on
the
user
partition:
v
%SRCLOC%:
This
variable
defines
the
location
of
the
IUWORK
folder
and
is
available
only
when
the
ImageUltra
Builder
program
is
performing
installation
procedures
under
Windows
control.
The
default
value
is
C:\IUWORK.
v
%OSTYPE%:
This
variable
is
the
operating
system
that
is
currently
installed,
and
is
available
only
when
the
ImageUltra
Builder
program
is
performing
installation
procedures
under
Windows
control.
v
%TIMESTAMPLOG%:
This
variable
defines
the
event
log
file
created
by
the
ImageUltra
Builder
installation
processes.
All
major
events
are
time
stamped
in
this
file.
The
default
value
is
STAMP.LOG
Use
these
predefined
global
variables
for
their
specified
purpose
only.
Chapter
13.
Debugging
problems
197
- THINKPAD X60 ThinkPad T43 ThinkPad R61e THINKPAD T61 ThinkPad X301 ThinkPad R50e ThinkPad R50p ThinkPad X40 ThinkPad SL300 ThinkPad SL400 ThinkPad X200 ThinkPad T500 ThinkPad R51 ThinkPad T41 ThinkPad T60 ThinkPad X61 Tablet ThinkPad X41 Tablet ThinkPad X61s THINKPAD X61 ThinkPad R61 ThinkPad X200 Tablet ThinkPad Z61e ThinkPad T400 ThinkPad R61i ThinkPad R52 ThinkPad R50 ThinkPad W700 ThinkPad R500 ThinkPad SL500 ThinkPad X200s THINKPAD Z60M ThinkPad W500 ThinkPad T61p ThinkCentre A30 ThinkPad T42 THINKPAD T40 ThinkPad X300 ThinkCentre M55e