home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Mother of All Windows Books
/
CD-MOM.iso
/
cd_mom
/
utility
/
lang
/
batutil
/
install.bat
Wrap
DOS Batch File
|
1993-08-29
|
2KB
|
64 lines
@echo off
batutil\batutil {in %0 startcode}
goto end
:startcode
la top
at $0A}{ cls }{ ro 4 }{ col 5
echo Welcome to the BATUTIL/STACKEY install$_
echo $S It is $E$_$_$_$_
ME install$SBatutil install$SStackey Exit
go menu$r
la menu1
echo Please enter the full pathname where you want to put BATUTIL: (blank dir exits)$_
la askbat
?L 80 }{ SET $1=$Q
if $s(S,$1)=0 then go menu0
if ~$s(C,$1,2,1)=: then begin
echo $_You must begin with a drive letter and a : - try again$_
go askbat
end
ru command /c md $1
check $!($1)
if $r=9 then begin
echo $_Could not make directory; please start over$_
go halt
end
ru command /c copy batutil\*.* $1
exist $!($1\batutil.exe)
if ~$r=0 then begin
echo install was not sucessful!!$_
go halt
end
echo Install Sucessful; Run BUDEMO to see what Batutil can do
ge wa3 el
go top
la menu2
echo Please enter the full pathname where you want to put STACKEY: (blank dir exits)$_
la askskey
?L 80 }{ SET $1=$Q
if $s(S,$1)=0 then go menu0
if ~$s(C,$1,2,1)=: then begin
echo $_You must begin with a drive letter and a : - try again$_
go askskey
end
ru command /c md $1
check $!($1)
if $r=9 then begin
echo $_Could not make directory; please start over$_
go halt
end
ru command /c copy stackey\*.* $1
exist $!($1\stackey.com)
if ~$r=0 then begin
echo install was not sucessful!!$_
go halt
end
echo Install Sucessful
ge wa3 el
go top
la menu3
la menu0
echo Thanks for installing STACKEY and/or BATUTIL$_
go halt
:end