windows CE下一些目录的变量

作者:dreamzqw

转自:http://blog.csdn.net/dreamzqw/article/details/1749408


When creating an application package, the application developer can use shortcuts to specify the target locations where files should be extracted to on the device. This facilitates localization, because directories can have different names depending on the language that the target device is localized into.

For example, the Windows CE string %CE2% is translated into the Windows directory, typically /Windows on the default storage volume. This translation occurs on the device at installation time.

If a default storage volume is present on the device, the default storage volume string is added to the beginning of the listed directory. For example, if the default storage volume is Storage, %CE1% is automatically changed to /Storage/Program Files when a CE directory identifier is used. The %CEx% string ensures that files are placed in the correct locations on all platforms regardless of the file system's layout.

Note   Windows CE Strings must use uppercase characters.

The following table shows the available Windows CE Strings and their corresponding directory for a target device intended for an English-speaking audience.

Windows CE StringDirectory
%CE1%Program Files
%CE2%Windows
%CE4%Windows/StartUp
%CE5%My Documents
%CE8%Program Files/Games
%CE11%Windows/Start Menu/Programs
%CE14%Windows/Start Menu/Programs/Games
%CE15%Windows/Fonts
%CE17%Windows/Start Menu
 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值