Partager via


CeBackup Tool (Compact 2013)

3/26/2014

This tool enables you to back up and restore OS-specific .lib files that Microsoft ships. If you do not have a license that permits you to ship private code, the CeBackup tool (Cebackup.exe) allows you to customize the libraries during the OS design development process, and then restore the original libraries before you release your product.

By default, CeBackup backs up all .lib files under %_WINCEROOT%\Public. Backup files are stored in directories that correspond to their original location. For example, files in %_WINCEROOT%\retail are backed up to %_WINCEROOT%\retail.CEBACKUP. If your development computer has compression-enabled NTFS, the backup directory is compression-enabled.

Using the parameters, you can specify which directories should be searched for .lib files. This limits the scope of the backup, which is desirable because a complete Platform Builder and OS installation contains approximately 20 GB of .lib files.

Syntax

cebackup backup | restore | erase [-cpu cpu] [-cur | -dep deptree | directory]

Parameters

  • backup
    Copies the .lib files from the original installation directory to a backup directory.
  • restore
    Copies the .lib files from the backup directory to the original installation directory.
  • erase
    Erases the .lib files in the backup directory.
  • -cpu
    (Optional) Searches .lib files for the specified CPU type only.
  • -cur
    (Optional) Searches .lib files for the current deptree (dependency tree) only. The current deptree is determined from the current working directory.
  • -dep
    (Optional) Searches .lib files for the specified deptree only.
  • directory
    (Optional) Searches .lib files in the specified directory and its subdirectories. If this parameter is set, neither -cur nor -dep can be specified. Only one of these three parameters can be used at a time.

Remarks

The following code example shows how to back up .lib files for the x86 microprocessor, under the deptree parameter in %_WINCEROOT%\Public\Common.

cebackup backup -cpu x86 -dep common

See Also

Reference

Platform Builder Command Line Tools