home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 3 Comm
/
03-Comm.zip
/
ijpb014.zip
/
DeInst.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1998-07-28
|
1KB
|
54 lines
/* DeInst.CMD
* ----------
* Copyright (c) Cornelis Bockemuehl, 1998
*
* Deinstall InjoyPB program:
* - Delete desktop objects
* - Delete program files except configuration (InjoyPB.CFG)
*/
'@echo off'
if RxFuncQuery('SysLoadFuncs') then do
call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
call SysLoadFuncs
end
say "*************************"
say "Deinstallation of InjoyPB"
say "*************************"
say ""
do until (aa="Y") | (aa="N")
say "Do you want to remove InjoyPS from your computer? (y/n)"
pull aa .
end
if aa="Y" then do
say "Deleting folder with objects..."
call SysDestroyObject "<INJOYPBFOLDER>"
say "Deleting program files..."
'del Readme.DOC >nul'
'del InjoyPB.EXE >nul'
'del Install.CMD >nul'
'del Config.CMD >nul'
'del CalcMany.CMD >nul'
'del ConfigA.ICO >nul'
'del Docs.ICO >nul'
'del Folder.ICO >nul'
'del ConfigM.ICO >nul'
'del InjoyPB.ICO >nul'
'del InjoyPB.OUT >nul'
end
say ""
say "Deletion of InjoyPB done"
say ""
say "Configuration file intentionally not deleted: Either delete it by hand"
say " del injoypb.cfg"
say "or keep it for in case you decide to reinstall InjoyPB later on."
say "(But be careful not to overwrite it while doing so!)."
say ""
say "deinst.cmd (this file) not deleted: Delete it by hand."