Examples of file-migration commands, Selecting files during the capture phase, Example 1 – Lenovo ThinkPad R50p User Manual
Page 69: Example 2, Example 3, Examples, File-migration, Commands, Selecting, Files
Examples
of
file-migration
commands
This
section
contains
examples
of
file-migration
commands.
These
examples
demonstrate
how
to
combine
file-inclusion
and
file-exclusion
commands
to
refine
your
file
selection.
Only
the
file-handling
sections
of
the
command
file
are
shown.
Selecting
files
during
the
capture
phase
This
section
contains
three
examples
of
code
used
to
select
files
during
the
capture
phase.
Example
1
The
following
code
example
selects
all
files
with
a
.doc
extension
(Microsoft
Word
documents)
and
relocates
them
in
the
“d:\My
Documents”
directory.
It
then
excludes
all
files
that
are
in
the
d:\No_Longer_Used
directory.
Documents
Example
2
The
following
code
example
selects
the
contents
of
the
drive,
excluding
all
files
located
in
the
root
of
the
d
drive
and
all
files
with
a
.tmp
extension.
Example
3
The
following
code
example
selects
the
entire
contents
of
the
c
drive,
excluding
all
files
located
in
the
directory:
%windir%.
The
%windir%
directory
specifies
the
Windows
directory.
Chapter
4.
Rejuvenation
and
migration
61
- 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