Commit | Line | Data |
2986a63f |
1 | @echo off |
2 | @rem AUTHOR: sgp |
3 | @rem CREATED: 24th July 2000 |
4 | @rem LAST REVISED: 6th April 2001 |
5 | @rem Batch file to set the path to Watcom directories |
6 | @rem This file is called from SetNWBld.bat. |
7 | |
8 | if "%1" == "/now" goto now |
9 | if "%1" == "" goto Usage |
10 | if "%1" == "/?" goto usage |
11 | if "%1" == "/h" goto usage |
12 | |
13 | set WATCOM=%1 |
14 | echo WATCOM set to %1 |
15 | |
16 | goto exit |
17 | |
18 | :now |
19 | @echo WATCOM=%WATCOM% |
20 | goto exit |
21 | |
22 | :Usage |
23 | @echo on |
24 | @echo "Usage: setwatcom <path to Watcom>" |
25 | @echo "Usage: setwatcom /now" - To display current setting |
26 | @echo Ex. setwatcom d:\Watcom |
27 | :exit |
28 | |