home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 8 Other
/
08-Other.zip
/
lfncall.zip
/
DEINSTAL.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1997-09-26
|
2KB
|
93 lines
/*
* LFNCall V 1.4
*
* Deinstallationsprogramm mit Löschen der Symbole
* (c) 1997 Thomas Bohn, Vogelwiese 65, D-18435 Stralsund, Germany
*
*/
call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
call SysLoadFuncs
'@Echo off'
'cls'
say''
say' ┌───────────────────────────────────────────────────────────────────┐'
say' │ LFNCall V 1.4 │'
say' │ (c) Thomas Bohn 1997 │'
say' │ Deinstaller │'
say' └───────────────────────────────────────────────────────────────────┘'
say''
say 'Bitte wählen Sie die Sprache. / Please select your language.'
say ''
say '(D)eutsch'
say '(E)nglish'
say ''
pull Spr
say ''
if Spr="D" then do
say 'Die zu LFNCall gehörenden Dateien werden aus dem WIN-OS/2-Verzeichnis'
say 'gelöscht und die Symbole und der LFN-Ordner vom Desktop entfernt.'
say ''
say 'Start mit <Eingabe>...Abbruch mit "E" und <Eingabe>...'
end
if Spr="E" then do
say 'The files of LFNCall will be removed from the WIN-OS/2-Directory and'
say 'the icons and the folder will be removed from the desktop.'
say ''
say 'Start with <Enter>...Cancel with "C" and <Enter>...'
end
pull taste
if taste="E" then exit
if taste="C" then exit
windir = SysIni( 'USER', 'PM_INSTALL', 'WINOS2_LOCATION' )
Ende=pos('00'x,windir)-1
Pfad=substr(windir,1,Ende)
say ''
if Spr="D" then say 'Lösche Objekte und Ordner...'
if Spr="D" then say 'Removing icons and folder...'
name = "<Winword-LFN>"
result=SysDestroyObject(name)
name = "<Excel-LFN>"
result=SysDestroyObject(name)
name = "<Wordpro-LFN>"
result=SysDestroyObject(name)
name = "<123-LFN>"
result=SysDestroyObject(name)
name = "<CorelDraw-LFN>"
result=SysDestroyObject(name)
name = "<LFN-Daemon>"
result=SysDestroyObject(name)
name = "<LFN-Reset>"
result=SysDestroyObject(name)
name = "<LFN_Folder>"
result=SysDestroyObject(name)
if Spr="D" then say 'Lösche Dateien...'
if Spr="E" then say 'Removing files...'
'del ' Pfad'\LFN.EXE'
'del ' Pfad'\LFN.ICO'
'del ' Pfad'\LFNR.EXE'
'del ' Pfad'\LFNDMN.EXE'
'del ' Pfad'\LFND.CMD'
'del ' Pfad'\LFNCALL.CMD'
'del ' Pfad'\LFNCALL.INI'
'del ' Pfad'\DSTART.EXE'
say ''
if Spr="D" then say 'Fertig.'
if Spr="E" then say 'Ready.'
say ''