home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 June
/
SIMTEL_0692.cdr
/
msdos
/
lotus123
/
lotushlp.arc
/
LOTUSHLP.BAT
< prev
next >
Wrap
DOS Batch File
|
1985-05-31
|
3KB
|
105 lines
echo off
rem This batch file was prepared by Greg D. Rismoen 212-819-7834
rem
rem This batch file is intended to be a demonstration of the RESPONSE.COM
rem command in a batch environment, and must accompany the library file
rem LOTUSHLP.LBR, which is a set of six advanced tutorials for Lotus 123.
rem This file, like all large batch files, works best in an electronic
rem RAMDRIVE environment (up to ten times faster with large batch files).
rem However, if you don't have a RAMDRIVE, don't fret, just be patient.
rem RESPONSE will act on keyboard input from the user. Do not press ENTER
rem after you make your selection. If you press a key to make a selection
rem and then also press ENTER, the ENTER key action will sit in the buffer
rem until the next command. In this file, if you select 1 ENTER
rem RESPONSE will act on the 1 and the ENTER will take effect when LIST
rem begins listing the LOTUS1 tutorial, and it will immediately skip
rem to the second page of the tutorial. So if that happens, simply hit
rem PgUp and you will be back at the first page of the tutorial.
cls
NUMOFF
echo
echo
echo The following is a listing of 6 tutorials for Lotus 1-2-3.
echo
echo Please select a number from 1 to 7 to proceed:
echo
echo
echo 1. Collection of illustrative Lotus macro tips.
echo
echo 2. Development of a mailing list system with macros.
echo
echo 3. Tutorial on the use of the /XI command.
echo
echo 4. Creation of looping macros.
echo
echo 5. Automatic pointer movement macros.
echo
echo 6. Converting Lotus 1-2-3 data bases to Symphony data bases.
echo
echo 7. Exit this program.
echo
echo Respond by pressing a number from 1 through 7. DO NOT PRESS ENTER
echo
RESPONSE 1234567
IF ERRORLEVEL 7 GOTO END
IF ERRORLEVEL 6 GOTO SIX
IF ERRORLEVEL 5 GOTO FIVE
IF ERRORLEVEL 4 GOTO FOUR
IF ERRORLEVEL 3 GOTO THREE
IF ERRORLEVEL 2 GOTO TWO
IF ERRORLEVEL 1 GOTO ONE
:ONE
echo off
cls
IF NOT EXIST LOTUS1.DOC GOTO ERROR
LIST LOTUS1.DOC
echo off
LOTUSHLP
:TWO
echo off
cls
IF NOT EXIST LOTUS2.DOC GOTO ERROR
LIST LOTUS2.DOC
echo off
LOTUSHLP
:THREE
echo off
cls
IF NOT EXIST LOTUS3.DOC GOTO ERROR
LIST LOTUS3.DOC
echo off
LOTUSHLP
:FOUR
echo off
cls
IF NOT EXIST LOTUS4.DOC GOTO ERROR
LIST LOTUS4.DOC
echo off
LOTUSHLP
:FIVE
echo off
cls
IF NOT EXIST LOTUS5.DOC GOTO ERROR
LIST LOTUS5.DOC
echo off
cls
LOTUSHLP
:SIX
echo off
cls
IF NOT EXIST LOTUS6.DOC GOTO ERROR
LIST LOTUS6.DOC
echo off
cls
LOTUSHLP
:ERROR
echo
echo
echo The file you requested does not exist on the default drive.
echo Please copy the six files... Lotus1.doc through Lotus6.doc...
echo over to your default drive, or restart this batch file on the
echo same drive as the LotusX.doc files.
SIGNAL1
:END
cls