home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 4
/
AACD04.ISO
/
RemoveCD
< prev
next >
Wrap
Text File
|
1999-11-28
|
1KB
|
46 lines
; AACD Removal Script
;
; Remove assigns and paths set by Welcome script
;
; Only run RemoveCD if Welcome has been run
Assign >NIL: AACD: EXISTS
If WARN
Skip EJECT
EndIf
cd AACD:
Set CDname `cd`
set ReqTitle Amiga Active CD
Execute AACD:CDTools/S/ThisCD REMOVE
; Remove assigns
Assign >NIL: DEVS: AACD:System/Devs REMOVE
Assign >NIL: Fonts: AACD:System/Fonts REMOVE
Assign >NIL: Libs: AACD:System/Libs REMOVE
Assign >NIL: L: AACD:System/L REMOVE
Assign >NIL: S: AACD:CDTools/S REMOVE
Assign >NIL: LIBS: AACD:System/Classes REMOVE
Assign >NIL: HELP: AACD:CDTools/MUI/Docs REMOVE
Assign >NIL: Libs: AACD:CDTools/MUI/Libs REMOVE
Assign >NIL: LOCALE: AACD:CDTools/MUI/Locale REMOVE
Assign >NIL: MUI: AACD:CDTools/MUI REMOVE
Failat 21
Assign >NIL: ENV: AACD:System/Prefs/Env-Archive REMOVE
Assign >NIL: ENVARC: AACD:System/Prefs/Env-Archive REMOVE
Failat 10
Assign >NIL: AACD: REMOVE
Avail >NIL: FLUSH
Lab EJECT
set EjectYN `RequestChoice "Amiga Active CD" "CD assigns have been removed*NShould I eject the CD?" "Yes|No"`
If $EjectYN EQ 1
wait 1
:CDTools/Eject/Eject `get CDname`
Endif