home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
lotus
/
eSuite.exe
/
eSuiteDPP
/
samples
/
weatherchart
/
doCopyWeather.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1998-01-09
|
2KB
|
52 lines
@echo off
@REM
@REM $Log: //reebok/xyzL/JavaComp/webpack/samples/weatherchart/doCopyWeather.cmd $
@REM
@REM Rev 1.1.1.0 09 Jan 1998 11:08:46 jdonohue
@REM Runs the CopyWeather Java application
@REM
@REM Rev 1.1 08 Jan 1998 15:09:08 jdonohue
@REM Change drive, directory before invoking java
@REM
@REM Rev 1.0 08 Jan 1998 11:36:26 jdonohue
@REM Initial Revision
@REM
@REM DoCopyWeather.cmd - Runs CopyWeather Java application
@REM
@REM This batch file reads the weather from Intellicast web site for cities
@REM described in the CopyWeather.dat file, and creates corresponding local
@REM files on the Lotus server, e.g.,
@REM
@REM http://www3.intellicast.com/weather/lga/curcond.dat ==> currcond.lga
@REM
@REM DEMODRIVE identifies the install drive for kona webpack.
@REM DEMOLOC - the demo install directory, e.g., \notes\data\domino\html\weatherchart
@REM DEMOROOT identifies the install directory for kona webpack, set this to
@REM the CODEBASE on the Lotus server where the weather files will be kept
@REM
@REM The weather files are updated every hour
@REM
if .%DEMODRIVE%==. goto explain
if .%DEMOLOC%==. goto explain
if .%DEMOROOT%==. goto explain
setlocal
%DEMODRIVE%
cd %DEMOLOC%
jview /cp:p %DEMODRIVE%%DEMOROOT% samples.weatherchart.CopyWeather copyweather.dat screen:8080 /tEST
goto end
:explain
@echo
@echo Usage: %0
@echo Call Java app to make local copy of weather data from Intellicast web site
@echo System environment variables DEMODRIVE, DEMOLOC and DEMOROOT must be set
@echo prior to calling this procedure
@echo DEMODRIVE=%DEMODRIVE%
@echo DEMOLOC=%DEMOLOC%
@echo DEMOROOT=%DEMOROOT%
@echo
:end
endlocal