comparison gpf/BIN/emw.bat @ 0:509db1a7b7b8

initial import: leo2moko-r1
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 01 Jun 2015 03:24:05 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:509db1a7b7b8
1 @echo off
2 setlocal
3 rem -----------------------------------------------------------------------------
4 rem Project : EMW
5 rem Modul :
6 rem -----------------------------------------------------------------------------
7 rem Copyright 2003 Texas Instruments Berlin, AG
8 rem All rights reserved.
9 rem
10 rem This file is confidential and a trade secret of Texas
11 rem Instruments Berlin, AG
12 rem The receipt of or possession of this file does not convey
13 rem any rights to reproduce or disclose its contents or to
14 rem manufacture, use, or sell anything it may describe, in
15 rem whole, or in part, without the specific written consent of
16 rem Texas Instruments Berlin, AG.
17 rem -----------------------------------------------------------------------------
18 rem | Purpose :
19 rem -----------------------------------------------------------------------------
20
21 set PATH=%PATH%;..\tools\bin;..\..\tools\bin\debug;..\..\tools\bin
22
23 @if x%1 == x-h goto usage
24
25 @if x%GPF% == x goto start
26 if EXIST emw.exe goto start
27 cd %GPF%\BIN
28 :start
29 rem copy default configs
30 rem set cfg_dir=..\cfg
31 rem if NOT EXIST ..\cfg\tap.svc.default set cfg_dir=..\..\cfg
32 rem if NOT EXIST %cfg_dir%\tap.svc copy %cfg_dir%\tap.svc.default %cfg_dir%\tap.svc
33 start emw.exe %1 %2 %3
34 goto end
35
36 :usage
37 @echo usage:
38 @echo "emw [-h]"
39
40 :end
41 endlocal