Predefined System Environment Variables
A file destination path specified in Target Designer or Component Designer must be defined as it is intended for the target system. To assist with this, environment variables can be used to represent folders on your run-time image. The list of environment variables provided in the Windows Embedded Studio tools displays each variable with its corresponding path on the development**system, not the target system, and the two are not necessarily the same.
The following table shows the environment variables listed in Target Designer and Component Designer and the resulting path on the target system.
Environment Variable | Path | Example |
---|---|---|
%10% | Windows | C:\Windows |
%11% | System32 | C:\Windows\system32 |
%12% | Drivers | C:\Windows\system32\drivers |
%17% | inf | C:\Windows\inf |
%18% | Help | C:\Windows\Help |
%20% | Fonts | C:\Windows\Fonts |
%21% | Viewers | C:\Windows\system32\viewers |
%23% | Color | C:\Windows\system32\spool\drivers\color |
%24% | Apps | C:\ |
%25% | Shared | C:\Windows |
%30% | Boot | C:\ |
%50% | System16 | C:\Windows\system |
%51% | Spool | C:\Windows\system32\spool |
%52% | Spooldrivers | C:\Windows\system32\spool\drivers\w32x86 |
%53% | Userprofile | C:\Documents and Settings\username |
%54% | Loader | C:\ |
%55% | Printprocessor | C:\Windows\system32\spool\Prtprocs\w32x86 |
%16406% | All Users\Start Menu | C:\Documents and Settings\All Users\Start Menu |
%16407% | All Users\Start Menu\Programs | C:\Documents and Settings\All Users\Start Menu\Programs |
%16408% | All Users\Start Menu\Programs\Startup | C:\Documents and Settings\All Users\Start Menu\Programs\Startup |
%16409% | All Users\Desktop | C:\Documents and Settings\All Users\Desktop |
%16415% | All Users\Favorites | C:\Documents and Settings\All Users\Favorites |
%16419% | All Users\Application Data | C:\Documents and Settings\All Users\Application Data |
%16422% | Program Files | C:\Program Files |
%16425% | system 32 on RISC | C:\Windows\system32 |
%16426% | Program Files on RISC | C:\Program Files |
%16427% | Program Files\Common | C:\Program Files\Common |
%16428% | x86 Program Files\Common on RISC | C:\Program Files\Common |
%16429% | All Users\Templates | C:\Documents and Settings\All Users\Templates |
%16430% | All Users\Documents | C:\Documents and Settings\All Users\Documents |
%16437% | All Users\Documents\My Music | C:\Documents and Settings\All Users\Documents\My Music |
%16438% | All Users\Documents\My Pictures | C:\Documents and Settings\All Users\Documents\My Pictures |
See Also
Reassign Drive Letters to Volumes in Target Designer | Design a Run-Time Image | Custom Resources | Resources
Last updated on Wednesday, October 18, 2006
© 2006 Microsoft Corporation. All rights reserved.