The information in this article applies to:
SUMMARYWindows CE developers might need to manipulate files that exist in the Windows CE emulation environment. This article describes the Empfile utility and how to use it to copy, delete, verify the existence of, synchronize, or run emulation files. MORE INFORMATION
There is a separate version of the Empfile utility for each of the Windows CE Platform SDKs. By default, Empfile exists in the following locations: C:\Windows CE Tools\WCE200\MS HPC\emulation\windowsHandheld PC Pro Platform SDK version 3.0: C:\Windows CE Tools\WCE211\MS HPC Pro\emulation\hpcpro\windowsPalm-size PC Platform SDK version 1.2: C:\Windows CE Tools\WCE211\ms palm size pc\emulation\palm211\windowsThe following examples illustrate how to use the Empfile utility. Please note that Empfile needs to be called using the appropriate path to the utility. Command line options:
where wce_filespec is of the form:
When copying files, either SRC_FILESPEC or DST_FILESPEC must be a
WCE_FILESPEC. The DST_FILESPEC must be a path to desktop or emulation.
Wild cards are allowed for SRC_FILESPEC only if it is not a WCE_FILESPEC
Examples: To copy a file (text.exe) to the emulation object store's \Windows directory:
To copy a file (text.exe) from the emulation object store's \Windows directory to the c:\ drive:
To delete test.exe from the object store's root directory:
To verify that test.exe exists in object store's Windows\ directory:
To synchronize the wce\emul\platform\ tree with object store:
To run test.exe from object store with parameter "-10" :
NOTE:
"Platform" is the platform selected in the Emulation Settings Dialog.
Wildcards are not supported in the Handheld PC Platform SDK version of Empfile. Specify the fully-qualified path name for the Copy command.
Additional query words:
Keywords : kbToolkit kbVBp kbVBp500 kbVBp600 kbWinCE |
Last Reviewed: September 1, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |