Michele:
I
don't know how to specifically solve the path problem, but I use the attached GX
to compile my own GXs, and it gives the full paths to both grc.exe and gxc.exe.
You may have to modify it somewhat to work on your system.
@set
include=d:\oasismontaj\gxdev\gxh
@if exist %1.grc d:\oasismontaj\gxdev\bin\grc %1
@d:\oasismontaj\gxdev\bin\gxc %1
@copy %1.gx d:\oasismontaj\gx
@if exist *.grh del *.grh
@if exist *.gr del *.gr
@if exist *.gx del *.gx
@if exist %1.grc d:\oasismontaj\gxdev\bin\grc %1
@d:\oasismontaj\gxdev\bin\gxc %1
@copy %1.gx d:\oasismontaj\gx
@if exist *.grh del *.grh
@if exist *.gr del *.gr
@if exist *.gx del *.gx
For
instance, to compile the COPY GX, you would type at the DOS
prompt:
gx
copy
and it
does everything, grc, gxc, copy to the final directory and
clean-up.
Just
make sure that the gx.bat file is in your current path.
(The @
sign is used so that the line doesn't echo to the screen when the batch file is
run).
_______________
Geosoft Inc.
Stephen
Cheesman
[EMAIL PROTECTED]
(905) 315-8207
Software and
services for effective earth science decision-making.
Free Oasis montaj
interface now available at http://www.geosoft.com
-----Original Message-----
From: Michele Martinez [mailto:[EMAIL PROTECTED]]
Sent: December 3, 2001 12:26 PM
To: Stephen Cheesman
Subject: GXHi Stephen,I would like to know if you can help me a once with a following doubt:I was using the Windows 95 to compile the files to GX and I had to set the include in order to work well, but now I am using the Windows2000 and when I try to compile I see the following message:'grc' is not recognized as an internal or external command, operable program or batch file.'gxc' is not recognized as an internal or external command, operable program or batch file.I tried to set it in Environment Variables but I was not successful. Could you please inform me where I have to set this?Thanks,Michele__________________________________________________________
Michele Martinez
Information System Analyst
[EMAIL PROTECTED]
Geosoft Latinoamérica Ltda.
Av. Rio Branco, 156 Gr. 2615 - Centro
Rio de Janeiro - RJ - BRASIL - 20043-900
Tel: 55 21 2532-0140 - Fax: 55 21 2532-7197
Software and services for effective earth science decision-making. Free
Oasis montaj interface with public-domain Data Access Protocol (DAP)
for accessing high-volume spatial data over the Internet available for
download at www.geosoft.com/pinfo/free/downloadfree.html
__________________________________________________________