home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
s
/
syread03.zip
/
DEMO.BAT
next >
Wrap
DOS Batch File
|
1980-01-01
|
977b
|
53 lines
@echo off
syreader
ln
echo Oops... I forgot to give you SYNERGY.LST, let's try it again.
copy document.lst synergy.lst
ln
pause
syreader
makeidx
ln
echo as you can see, we were missing "MAKEIDX.CFG". No Problem! MAKEIDX.EXE
echo will make it for you, with your own defaults if you register.
ln
pause
cls
ln
echo type makeidx.exe
ln
type makeidx.cfg
ln
ln
echo this is the default configuration file, we will use it this time around.
ln
pause
cls
type synergy.idx
ln
echo This is what an .IDX file looks like.
ln
pause
synergy
ln
echo Now for a real SLDIR allfiles list.
echo on
copy synergy.sam synergy.lst
copy makeidx.sam makeidx.cfg
@echo off
ln
echo This time We'll use the "/x" switch with MAKEIDX.EXE - This silences
echo the screen output - to speed up processing while run from a remote
echo terminal.
ln
pause
echo on
makeidx /x
syreader
@echo off
del synergy.lst
del synergy.idx
del makeidx.cfg
type thankyou.bye