Chapter 4. rejuvenation and migration, Creating a command file, File commands – Lenovo ThinkPad Edge 15 User Manual

Page 61

Advertising
background image

Chapter 4. Rejuvenation and migration

As part of the Rescue and Recovery program, rejuvenation and migration tools are utilized to help you
rejuvenate and migrate your data and settings. Migration methods are managed with System Migration
Assistant. For additional information about System Migration Assistant, see the deployment guide or the
users guide at: http://www.lenovo.com/supportTo assist you with rejuvenation and migration, this chapter
provides the following information:

“Creating a command file” on page 53

“File commands” on page 53

“File-migration commands” on page 57

“Examples of file-migration commands” on page 60

“Migrating additional application settings” on page 62

Creating a command file

During the capture phase, System Migration Assistant reads the contents of the command file and archives
settings. This section contains information about command files and the statements that they can contain.

System Migration Assistant provides a default command file (command.xml), that you can use as a template
to create a customized command file. If you installed System Migration Assistant in the default location, this
file is located in the c:\%RR%\migration\bin directory.

Note: XML technology is used to describe command file commands.

Consider the following points concerning command files:

• XML Command file must be saved in Unicode (UTF-16) format.

• The command file follows XML version 1.0 syntax, and is case-sensitive.

• Each command and parameter section must start with <TagName>and end with </TagName>, and

its value must be described between those tags.

• Syntax errors might cause an error when you run System Migration Assistant. If System Migration

Assistant encounters an error, it writes the error to the log file and continues the operation. Depending on
the severity of the error, the end results may be corrupted.

File commands

The following table contains information about the commands, with the exception of those concerning file
migration or the registry, that can be used in a command file:

© Copyright Lenovo 2008, 2010

53

Advertising