home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
pmbu12.zip
/
InstDeu.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1997-07-20
|
2KB
|
67 lines
/* install.cmd ** Installationroutine für PMBackup */
call RxFuncAdd "SysLoadFuncs", "RexxUtil", "SysLoadFuncs"
call SysLoadFuncs
call SysCls
say
say "***** Installation von PMBackup *****"
say
say
say "Geben Sie bitte den vollständigen Pfad an,"
say "in dem PMBackup installiert werden soll :"
say
pull progPath
say
curDir = directory()
rc = SysMkDir(progPath)
if (rc <> 0) then
do
say "Fehler beim Erstellen des Verzeichnisses : " progPath
say
say " Versuche Installation fortzusetzen !"
end
say
/* Dateien kopieren */
say "Kopiere Datei PMBUD.Exe von " curdir " nach " progPath
quelle = curDir||"\PMBUD.EXE"
ziel = progPath||"\PMBUD.EXE"
copy quelle ziel
say "Kopiere Datei PMBU.INI von " curdir " nach " progPath
quelle = curDir||"\PMBU.INI"
ziel = progPath||"\PMBU.INI"
copy quelle ziel
say "Kopiere Datei Liesmich.txt von " curdir " nach " progPath
quelle = curDir||"\Liesmich.txt"
ziel = progPath||"\Liesmich.txt"
copy quelle ziel
say "Kopiere Datei Register.txt von " curdir " nach " progPath
quelle = curDir||"\Register.txt"
ziel = progPath||"\Register.txt"
copy quelle ziel
say "Kopiere Datei history.txt von " curdir " nach " progPath
quelle = curDir||"\history.txt"
ziel = progPath||"\history.txt"
copy quelle ziel
say
say "Erstelle Programmobjekt auf Arbeitsoberfläche"
exePath = progPath||"\PMBUD.EXE"
call SysCreateObject "WPProgram", "PMBackup", "<WP_DESKTOP>",,
"EXENAME="exePath
call SysDropFuncs
exit