Lenovo ThinkPad X60 (English) Rescue and Recovery 4.5 Deployment Guide - Page 34

Put files in the Predesktop Area directories, Rename a file in the Predesktop Area

Page 34 highlights

Note: Wildcards are not supported in this function. You must understand the Predesktop Area environment before attempting any modifications. Put files in the Predesktop Area directories RRUTIL /p Update (add/replace) files in \preboot, \minint, or root of the PE partition either virtual or type 0x07: 1. Place all the files in a temp folder on drive c:\. Based on location in the temp directory, the files will be copied into the PE partitions in the same locations. For example, to add/replace a file.cmd file in \preboot\startup, the user would place the file.cmd file in c:\tempdir\preboot\startup and then run the command "RRUTIL /p c:\tempdir". 2. Sample Command: RRUTIL /p c:\PDATemp contained in c:\PDATemp would be a mirror image of the directory structure of \preboot, \minint, or root of Predesktop Area. The files in the root of c:\PDATemp would put the files in the root of the PE partition. Delete files from the Predesktop Area directories RRUTIL /d C:\temp\dellist.txt Delete a file in the \preboot, \minint, or root of the Rescue and Recovery partition either virtual or type 0x07: 1. Delete the file(s) of \preboot. \minint, or root of the PE partition either virtual or type 0x07 based on the contents of a text file. 2. Dellist.txt must contain a tree structure of the files to be deleted from the PDA. 3. Sample Command: RRUTIL /d dellist.txt dellist.txt contents: \preboot\startup\custom.cmd Sample file name only \preboot\usrintfc\test.txt Sample file name only Rename a file in the Predesktop Area RRUTIL /r \\oldfilename.ext newfilename.ext Rename a file located in the Predesktop Area. This function only works on files in the Predesktop Area. The path to the file to be renamed must be included without the drive letter. The new name of the file should only include the name without any path information. Example: RRUTIL -r \preboot\usrintfc\peaccessibmen.ini peaccessibmen.old Test for Rescue and Recovery being installed RRUTIL /bq This command can be used in a batch file to help in automated processing. If the Rescue and Recovery code is not installed on the system only, the functions that access the Predesktop Area will be available. Example: RRUTIL -bq Results in the environment variable %errorlevel% being set to -2, if the Rescue and Recovery program is not installed on the system, or 0 if the Rescue and Recovery program is installed. Type echo %errorlevel% to see the results of the command. Backup directory list RRUTIL /bl 28 Rescue and Recovery 4.5 Deployment Guide

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86

Note:
Wildcards are not supported in this function. You must understand the Predesktop Area
environment before attempting any modifications.
Put files in the Predesktop Area directories
5587,/ ±S ¼SDWK!
Update (add/replace) files in \preboot, \minint, or root of the PE partition either virtual or type 0x07:
1. Place all the files in a temp folder on drive c:\. Based on location in the temp directory, the files will
be copied into the PE partitions in the same locations. For example, to add/replace a file.cmd file in
\preboot\startup, the user would place the file.cmd file in c:\tempdir\preboot\startup and then run
the command “RRUTIL /p c:\tempdir”.
2. Sample Command: RRUTIL /p c:\PDATemp contained in c:\PDATemp would be a mirror image of the
directory structure of \preboot, \minint, or root of Predesktop Area. The files in the root of c:\PDATemp
would put the files in the root of the PE partition.
Delete files from the Predesktop Area directories
5587,/ ±G &´?WHPS?GHOOLVW²W[W
Delete a file in the \preboot, \minint, or root of the Rescue and Recovery partition either virtual or type 0x07:
1. Delete the file(s) of \preboot. \minint, or root of the PE partition either virtual or type 0x07 based on the
contents of a text file.
2. Dellist.txt must contain a tree structure of the files to be deleted from the PDA.
3. Sample Command: RRUTIL /d <path> dellist.txt dellist.txt contents:
?SUHERRW?VWDUWXS?FXVWRP²FPG 6DPSOH úOH QDPH RQO\
?SUHERRW?XVULQWIF?WHVW²W[W 6DPSOH úOH QDPH RQO\
Rename a file in the Predesktop Area
5587,/ ±U ?¼3'$»SDWK!?ROGúOHQDPH²H[W QHZúOHQDPH²H[W
Rename a file located in the Predesktop Area. This function only works on files in the Predesktop Area. The
path to the file to be renamed must be included without the drive letter. The new name of the file should
only include the name without any path information.
Example:
5587,/ ・U ?SUHERRW?XVULQWIF?SHDFFHVVLEPHQ²LQL SHDFFHVVLEPHQ²ROG
Test for Rescue and Recovery being installed
5587,/ ±ET
This command can be used in a batch file to help in automated processing. If the Rescue and Recovery
code is not installed on the system only, the functions that access the Predesktop Area will be available.
Example:
5587,/ ・ET
Results in the environment variable %errorlevel% being set to -2, if the Rescue and Recovery program is not
installed on the system, or 0 if the Rescue and Recovery program is installed. Type echo %errorlevel% to
see the results of the command.
Backup directory list
5587,/ ±EO ¼SDWK!
28
Rescue and Recovery 4.5 Deployment Guide