3 @rem CREATED: Thu 18th Jan 2001 09:18:08
4 @rem LAST REVISED: 6th April 2001
5 @rem LAST REVISED: 22nd May 2002
6 @rem Batch file to set the path to Default Buildtype,NetWare SDK, CodeWarrior directories
7 @rem This file calls buildtype with release as defualt,setnlmsdk.bat, setCodeWar.bat & setmpksdk.bat and MpkBuild with off as default
9 REM If no parameters are passed, display usage
10 if "%1" == "" goto Usage
11 if "%1" == "/?" goto Usage
12 if "%1" == "/h" goto Usage
14 REM Display the current settings
15 if "%1" == "/now" goto now
17 REM If na is passed, don't set that parameter
18 if "%1" == "na" goto skip_nlmsdk_msg
22 goto skip_nlmsdk_nomsg
25 @echo Retaining NLMSDKBASE=%NLMSDKBASE%
28 if "%2" == "" goto err_exit
29 if "%2" == "na" goto skip_cw_msg
36 @echo Retaining CODEWAR=%CODEWAR%
43 @echo Not Enough Parameters
47 @echo NLMSDKBASE=%NLMSDKBASE%
48 @echo CODEWAR=%CODEWAR%
53 @echo "Usage: setnwdef <path to NetWare SDK> <path to CodeWarrior dir>"
54 @echo "Usage: setnwdef /now" - To display current setting
55 @echo Pass na if you don't want to change a setting
56 @echo Ex. setnwbld d:\ndk\nwsdk na
57 @echo Ex. setnwbld na d:\codewar