Export (0) Print
Expand All
3 out of 6 rated this helpful - Rate this topic

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 VariablePathExample
%10%WindowsC:\Windows
%11%System32C:\Windows\system32
%12%DriversC:\Windows\system32\drivers
%17%infC:\Windows\inf
%18%HelpC:\Windows\Help
%20%FontsC:\Windows\Fonts
%21%ViewersC:\Windows\system32\viewers
%23%ColorC:\Windows\system32\spool\drivers\color
%24% Apps C:\
%25%SharedC:\Windows
%30%BootC:\
%50%System16C:\Windows\system
%51%SpoolC:\Windows\system32\spool
%52%SpooldriversC:\Windows\system32\spool\drivers\w32x86
%53%UserprofileC:\Documents and Settings\username
%54%LoaderC:\
%55%PrintprocessorC:\Windows\system32\spool\Prtprocs\w32x86
%16406%All Users\Start MenuC:\Documents and Settings\All Users\Start Menu
%16407%All Users\Start Menu\ProgramsC:\Documents and Settings\All Users\Start Menu\Programs
%16408%All Users\Start Menu\Programs\StartupC:\Documents and Settings\All Users\Start Menu\Programs\Startup
%16409%All Users\DesktopC:\Documents and Settings\All Users\Desktop
%16415%All Users\FavoritesC:\Documents and Settings\All Users\Favorites
%16419%All Users\Application DataC:\Documents and Settings\All Users\Application Data
%16422%Program FilesC:\Program Files
%16425%system 32 on RISCC:\Windows\system32
%16426%Program Files on RISCC:\Program Files
%16427%Program Files\CommonC:\Program Files\Common
%16428%x86 Program Files\Common on RISCC:\Program Files\Common
%16429%All Users\TemplatesC:\Documents and Settings\All Users\Templates
%16430%All Users\DocumentsC:\Documents and Settings\All Users\Documents
%16437%All Users\Documents\My MusicC:\Documents and Settings\All Users\Documents\My Music
%16438%All Users\Documents\My PicturesC:\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


© 2006 Microsoft Corporation. All rights reserved.


Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.