ECHO OFF

rem   THIS IS THE BATCH FILE CALLED FROM THE 'RUN WEATHER' MACRO
rem   IN THE EXCEL VERSION OF THE LEACHM UTILITIES
rem  ------------------------------------------------------------
rem If WEATHBAT.BAT is not in the same folder as the data file,
rem then create a PATH to its location.

rem Move from default location of WEATHBAT.BAT to
rem the location of the current WEATHER.PRN and associated input file.
rem This path was passed from the 'Save and Run' macro as %1.

CD /D %1

rem  Execute WEATHER.EXE using the default path to the WEATHER.EXE file.
rem  Edit the path defined here to reflect the current WEATHER.EXE
rem  location.

weather

rem The 'pause' here prevents the Command Window from closing
rem immediately after WEATHER has run. Provides an opportunity
rem to examine error messages etc.



echo.

pause
