This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 

List of Windows CE CAB Installer Directory ID (DirID) Macros


Applies To

  • Windows CE 2.0
  • Windows CE 2.10, 2.11, 2.12
  • Windows CE 3.0
  • Windows CE .net 4.0, 4.1, 4.2
  • Windows CE 5.0
  • Windows CE 6.0, 6.0 R2, 6.0 R3
  • Windows Embedded CE 7.0
  • Windows Embedded CE 2013


This article lists DirID macros as used in the creation of Windows CE Cab Definition INF files for the creation of installer CAB's.

This list is derived from the Handheld PC / Handheld PC Pro macro list and may not work on all platforms or core versions of Windows CE due to missing or deprecated features. The lists will also differ on Pocket PC and Palm-sized PC devices.

More Info

Macro Path
%CE1% \Program Files
%CE2% \Windows
%CE3% \Windows\Desktop
%CE4% \Windows\Startup
%CE5% \My Documents
%CE6% \Program Files\Accessories
%CE7% \Program Files\Communication
%CE8% \Program Files\Games
%CE9% \Program Files\Pocket Outlook
%CE10% \Program Files\Office
%CE11% \Windows\Programs
%CE12% \Windows\Programs\Accessories
%CE13% \Windows\Programs\Communications
%CE14% \Windows\Programs\Games
%CE15% \Windows\Fonts
%CE16% \Windows\Recent
%CE17% \Windows\Favorites
%InstallDir% Contains the path to the target directory selected by the user during installation. It is declared in the "CEStrings" section
%AppName% Contains the application name, defined in the "CEStrings" section