home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
GRAPHICS
/
MDEM5A.ZIP
/
EXAM
/
GO_SHOW.BAT
next >
Wrap
DOS Batch File
|
1994-03-31
|
2KB
|
65 lines
echo off
CLS
echo GO_SHOW.BAT
echo First, we are going to present an overview, WATCH_ME.1ST of MakeDemo
echo using the MakeDemo runtime, MSHOW.EXE. This first time MSHOW will
echo create an index to disk of WATCH_ME.1ST, a small file named
echo WATCH_ME.INX, that speeds up MSHOW in finding screens during use.
echo
echo To view this presentation, this batch file will retreat to the next
echo higher level directory where MSHOW.EXE resides and then run MSHOW.
echo
echo C:\MDEMO CD..
echo C:\MDEMO MSHOW EXAM\WATCH_ME.1ST
echo
PAUSE
CD..
MSHOW EXAM\WATCH_ME.1ST
CLS
echo GO_SHOW.BAT (continued)
echo Now, to show how easy it is to create a single file .EXE executible
echo from a presentation file, we're going to use the MakeDemo utility,
echo WWP_MAKE.EXE to produce DEMO.EXE. This single .EXE file combines three
echo files into one: MSHOW.EXE, WATCH_ME.1ST, and WATCH_ME.INX.
echo
echo Our intent was to conserve file space in the MakeDemo distribution and
echo at the same time give you the opportunity later to investigate how we
echo designed menus, and hid "Help," Order Form, etc.
echo
echo In addition, we're going to "brand" DEMO.EXE with a seed number of
echo 1234567 and an assigned a serial number of 1000. If the correct
echo validation code, in this case - 2236 - is used as the command line
echo argument, a "shareware" screen buried in presentation will not appear.
echo
echo Those interested in branding can find the details in MDEMO F1 Help.
echo
echo C:\MDEMO WWP_MAKE MSHOW.EXE EXAM\DEMO.EXE EXAM\WATCH_ME.1ST 1234567,1000
echo
PAUSE
WWP_MAKE MSHOW.EXE EXAM\DEMO.EXE EXAM\WATCH_ME.1ST 1234567,1000
echo
echo That was quick.
echo
echo Because we created DEMO.EXE in the EXAM subdirectory, we're now going
echo to first change to it and then run the single .EXE file
echo
echo C:\MDEMO CD EXAM
echo
echo Now let's see the result!!
echo
echo C:\MDEMO\EXAM DEMO 2236
echo
PAUSE
CD EXAM
DEMO 2236
CLS
echo GO_SHOW.BAT (continued)
echo Now to see the presentation again, this time with the 'shareware'
echo screen found after the 8th screen, we'll leave off the validation code.
echo
echo C:\MDEMO\EXAM DEMO
echo
PAUSE
DEMO
CLS