home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 8 Other
/
08-Other.zip
/
ds110.zip
/
INSTALL.CMD
< prev
Wrap
OS/2 REXX Batch file
|
1994-08-12
|
2KB
|
54 lines
/* Deck Swabber v1.10 installation file */
call RxFuncAdd 'SysCls','RexxUtil','SysCls'
call SysCls /* Clear the screen */
say "Deck Swabber v1.10 Install"
say "Copyright (C) 1994 Davy Jones Software Locker"
say ""
say "This process will install Deck Swabber v1.10 onto your system."
say ""
say "Davy Jones Software Locker - Making it all Make Copies!!"
say ""
say "Enter the target drive and directory"
say "(Default=C:\DeckSwab)"
pull Target
if Target="" then Target="C:\DECKSWAB"
Current=DIRECTORY()
/* Check to see if directory already exists */
if \(Target=DIRECTORY(Target)) then
do
call RxFuncAdd 'SysMkDir','RexxUtil','SysMkDir'
RetCode=SysMkDir(Target)
if(RetCode) then
do
say "Cannot create directory"Target
exit
end
call DIRECTORY(Target)
end
/* Now copy files over */
"copy "Current"\DeckSwab.exe" Target
"copy "Current"\DeckSwab.hlp" Target
"copy "Current"\DeckSwab.doc" Target
"copy "Current"\Install.cmd" Target
/* Copying complete. Ask for installation of desktop object */
say "Would you like to install a program object (Y/N)?"
Response=CHARIN()
if(Response='y' | Response='Y') then
do
/* Install deck swabber object */
call RxFuncAdd 'SysCreateObject','RexxUtil','SysCreateObject'
Crap=SysCreateObject("WPProgram","Deck Swabber", "<WP_DESKTOP>",,
"EXENAME="Target"\DeckSwab.exe", "replace")
end
e DeckSwab.doc
say "Shivver me timbers! Deck Swabber Installation complete!"
exit