X Copy
Verb:
XC
Description:
Copies the specified device directory and its contents to the specified local directory (analogous to XCOPY or cp -R).
Support:
- XPe Usage
- Continue if Script Command Fails: No
- Arguments:
- Repository directory (source)
- Device directory (destination)
- Examples:
XC "<regroot>\Files\winnt\system32\*" "C:\winnt\system32" (Copies all files in the system32 folder of the package to the device's system32 folder)
- CE Usage
- Continue if Script Command Fails: No
- Arguments:
- Repository directory (source)
- Device directory (destination)
- Examples:
XC "<regroot>\system\*" "\system" (Copies all files in the system folder of the package to the device's system folder)
- Linux Usage
- Continue if Script Command Fails: No
- Arguments:
- Repository directory (source)
- Device directory (destination)
- Examples:
XC "<regroot>\XCTest\*" "/wfs/" (Copies all files in the XCTest folder of the package to the device's wfs folder)
General Rules:
- The source path should be defined with <regroot>.
- The source path should end in \* (* is a wildcard to indicate all files and directories).