home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
lotus
/
eSuite.exe
/
eSuiteDPP
/
samples
/
weatherchart
/
ATSTART.CMD
next >
Wrap
OS/2 REXX Batch file
|
1998-01-06
|
3KB
|
73 lines
@echo off
@REM
@REM $Log: //reebok/xyzL/JavaComp/webpack/samples/WEATHE~1/atstart.cmd $
@REM
@REM Rev 1.3 12 Dec 1997 09:10:44 jdonohue
@REM Environment variables must be set prior to starting
@REM Added optional parameter /interactive to aid debugging
@REM
@REM Rev 1.2 01 Dec 1997 09:04:54 jdonohue
@REM Fixed 'if not exist' typos
@REM
@REM Rev 1.1 26 Nov 1997 15:41:56 jdonohue
@REM Remodelled batch files to use common environment variables
@REM
@REM atStart.cmd : Setup AT schedule for read-weather functions
@REM
@REM Must set the following system environment variables:
@REM DEMODRIVE - install drive for kona webpack, e.g., c:
@REM DEMOLOC - the demo install directory, e.g., \notes\data\domino\html\weatherchart
@REM DEMOROOT - install directory for kona webpack, e.g., \notes\data\domino\html\kona
@REM
@REM
setlocal
if .%DEMODRIVE%==. goto explain
if .%DEMOLOC%==. goto explain
if .%DEMOROOT%==. goto explain
:doit
if not exist %DEMODRIVE%%DEMOLOC% goto explain
if not exist %DEMODRIVE%%DEMOROOT% goto explain
AT 00:05 /EVERY:Su,M,T,W,Th,F,S %1 %DEMODRIVE%%DEMOLOC%\doReadW.cmd
AT 01:05 /EVERY:Su,M,T,W,Th,F,S %1 %DEMODRIVE%%DEMOLOC%\doReadW.cmd
AT 02:05 /EVERY:Su,M,T,W,Th,F,S %1 %DEMODRIVE%%DEMOLOC%\doReadW.cmd
AT 03:05 /EVERY:Su,M,T,W,Th,F,S %1 %DEMODRIVE%%DEMOLOC%\doReadW.cmd
AT 04:05 /EVERY:Su,M,T,W,Th,F,S %1 %DEMODRIVE%%DEMOLOC%\doReadW.cmd
AT 05:05 /EVERY:Su,M,T,W,Th,F,S %1 %DEMODRIVE%%DEMOLOC%\doReadW.cmd
AT 06:05 /EVERY:Su,M,T,W,Th,F,S %1 %DEMODRIVE%%DEMOLOC%\doReadW.cmd
AT 07:05 /EVERY:Su,M,T,W,Th,F,S %1 %DEMODRIVE%%DEMOLOC%\doReadW.cmd
AT 08:05 /EVERY:Su,M,T,W,Th,F,S %1 %DEMODRIVE%%DEMOLOC%\doReadW.cmd
AT 09:05 /EVERY:Su,M,T,W,Th,F,S %1 %DEMODRIVE%%DEMOLOC%\doReadW.cmd
AT 10:05 /EVERY:Su,M,T,W,Th,F,S %1 %DEMODRIVE%%DEMOLOC%\doReadW.cmd
AT 11:05 /EVERY:Su,M,T,W,Th,F,S %1 %DEMODRIVE%%DEMOLOC%\doReadW.cmd
AT 12:05 /EVERY:Su,M,T,W,Th,F,S %1 %DEMODRIVE%%DEMOLOC%\doReadW.cmd
AT 13:05 /EVERY:Su,M,T,W,Th,F,S %1 %DEMODRIVE%%DEMOLOC%\doReadW.cmd
AT 14:05 /EVERY:Su,M,T,W,Th,F,S %1 %DEMODRIVE%%DEMOLOC%\doReadW.cmd
AT 15:05 /EVERY:Su,M,T,W,Th,F,S %1 %DEMODRIVE%%DEMOLOC%\doReadW.cmd
AT 16:05 /EVERY:Su,M,T,W,Th,F,S %1 %DEMODRIVE%%DEMOLOC%\doReadW.cmd
AT 17:05 /EVERY:Su,M,T,W,Th,F,S %1 %DEMODRIVE%%DEMOLOC%\doReadW.cmd
AT 18:05 /EVERY:Su,M,T,W,Th,F,S %1 %DEMODRIVE%%DEMOLOC%\doReadW.cmd
AT 19:05 /EVERY:Su,M,T,W,Th,F,S %1 %DEMODRIVE%%DEMOLOC%\doReadW.cmd
AT 20:00 /EVERY:Su,M,T,W,Th,F,S %1 %DEMODRIVE%%DEMOLOC%\doReadInit.cmd
AT 20:05 /EVERY:Su,M,T,W,Th,F,S %1 %DEMODRIVE%%DEMOLOC%\doReadW.cmd
AT 21:05 /EVERY:Su,M,T,W,Th,F,S %1 %DEMODRIVE%%DEMOLOC%\doReadW.cmd
AT 22:05 /EVERY:Su,M,T,W,Th,F,S %1 %DEMODRIVE%%DEMOLOC%\doReadW.cmd
AT 23:05 /EVERY:Su,M,T,W,Th,F,S %1 %DEMODRIVE%%DEMOLOC%\doReadW.cmd
goto end
:explain
@echo
@echo Usage: %0 [/interactive]
@echo /interactive - Error window will be displayed
@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