summaryrefslogtreecommitdiff
path: root/NetWare/bat/Setwatcom.bat
blob: 445ac67bb1fd7c68663333610f9a8c873e7a718f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
@echo off
@rem AUTHOR: sgp
@rem CREATED: 24th July 2000
@rem LAST REVISED: 6th April 2001
@rem Batch file to set the path to Watcom directories
@rem This file is called from SetNWBld.bat. 

if "%1" == "/now" goto now
if "%1" == "" goto Usage
if "%1" == "/?" goto usage
if "%1" == "/h" goto usage

set WATCOM=%1
echo WATCOM set to %1

goto exit

:now
@echo WATCOM=%WATCOM%
goto exit

:Usage
 @echo on
 @echo "Usage: setwatcom <path to Watcom>"
 @echo "Usage: setwatcom /now" - To display current setting
 @echo Ex. setwatcom d:\Watcom
:exit