register.bat
来自「《使用wxWidgets进行跨平台程序开发》一书中提到的所有的例子源码」· Batch 代码 · 共 36 行
BAT
36 行
@echo off
REM
REM register.bat registers the Riffle app with CEAppMgr.exe.
REM You can also provide a setup.exe to do this, for example from:
REM
REM http://www.pocketpcdn.com/articles/creatingsetup.html
REM
REM This assumes that the file install.ini is the same directory
REM as the CAB and setup.
REM
REM
REM You must modify the following directories to point to the correct locations.
REM Make sure the CAB file(s) to be installed are in the appinst\ root directory.
REM
REM fileRiffle must be an absolute path
set fileRiffle="c:\projects\StartingBlocks\book\riffle\scripts\wince\install.ini"
set fileCEAppMgr="C:\Program Files\Microsoft ActiveSync\ceappmgr.exe"
if not exist %fileRiffle% goto Usage
if not exist %fileCEAppMgr% goto Usage
%fileCEAppMgr% %fileRiffle%
goto Exit
:Usage
@echo ---
@echo Edit this batch file to point to the correct directories
@echo fileRiffle = %fileRiffle%
@echo fileCEAppMgr = %fileCEAppMgr%
@echo (this file is installed by Windows CE Services)
@echo ---
:Exit
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?