summaryrefslogtreecommitdiff
path: root/web/clip/ms_dos/clp_env.bat
blob: 34b0452d139b96c115eb8ac25fb8cedef307d116 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  @echo off
      if ".%1"=="." goto clear_env
      if ".%2"=="." goto more_parameters
  :set_environement
      set CLIP_SRC=%1
      set CLIP_TRG=%2
      echo ..... Set CLiP environment .....
      echo Source file directory is    "%1" .....
      echo Target module directory is  "%2" .....
      goto ready
  :clear_env
      set CLIP_SRC=
      set CLIP_TRG=
      echo ..... CLiP environment cleared .....
      goto ready
  :more_parameters
      echo ..... Please specify directories for   .....
      echo ..... SOURCE files and TARGET modules  .....
      echo ..... without trailing backslash, e.g. .....
      echo .....     >clp_env  d:  d:\test        .....
      goto ready
  :ready