said:
>I am now able to run it and select various targets. Also, I now have
>online help. Apparently, the file,
> C:\WATCOM\BINP\BATSERV.EXE,
>has to been run at OS/2 initialization, via the CONFIG.SYS. It cannot be
Not true. In config.sys RUN= is equivalent to DETACH from the command
line. You missed the other example which showed using DETACH.
>for that file, and for C:\WATCOM\BINP\NMPBIND.EXE, in the CONFIG.SYS. I
>also placed all the environmental variables in the CONFIG.SYS, instead of
>a batch file.
FWIW, if this is your only compiler and you are going to use it a lot,
there's no reason not to do this.
> 1. Is it true that I still need the Watcom version 11.0 CDROM install??
See previous reply. :-)
> 2. I notice that I cannot change the environmental variables, using a
>batch file, by simply double clicking on the icon for the file. Instead,
>I have to run the batch file from the commandline. Anyone know anything
>about this (why)?
This is how OS/2 works. When you run a program object, OS/2 starts a
process. Any environment changes are local to the process and its
children. To make the settings avialable to an application, create a
program object with:
Program *
Parameters: setwat & appname
where setwat is the .cmd file that sets up the environment. You can
prefix the parameters with /c or /k to change what happens to the session
when the app exits.
Steven
--
----------------------------------------------------------------
"Steven Levine" MR2/ICE 2.30a #10183 Warp4/FP15
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
----------------------------------------------------------------
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-help".
For problems, contact the list owner at
"rollin@scoug.com".
=====================================================
<< Previous Message <<
>> Next Message >>
Return to [ 06 |
January |
2002 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.