.Key PATH,GUIDE
.bra {
.ket }

Failat 21

If NOT EXISTS RAM:T/KaraCD-IPT/UndoAssign
  Execute KARACDROOT:Utilities/H/2/AutoAssign
EndIf

If EXISTS RAM:KaraCDBusy
  Echo "*N The CD-ROM is currently being configured. Please wait."
  Wait 6 SECS
  If EXISTS RAM:KaraCDBusy
    Echo "*N The CD-ROM is still being configured..."
    Wait 6 SECS
  EndIf
  If EXISTS RAM:KaraCDBusy
    Echo "*N The CD-ROM is still being configured..."
    Wait 10 SECS
  EndIf
  If EXISTS RAM:KaraCDBusy
    Echo "*N It appears that the configuration is still in progress."
    Echo " If the requested document does not appear, please free"
    Echo " some resources and/or select the KaraCD *"Reset*" icon."
  Else
    Echo "*N Configuration complete. Now opening the requested document.*N"
  EndIf
EndIf

If {PATH} EQ KARACDLOCAL:4
  Assign >NIL: KARACDLOCAL: EXISTS
  If WARN
    Assign KARACDLOCAL: KARACDROOT:Utilities/H/7/0
  EndIf
EndIf

CD {PATH}
Copy >NIL: {GUIDE} RAM:T/KaraCD-IPT
CD RAM:T/KaraCD-IPT
Protect {GUIDE} wd ADD

If EXISTS SYS:Utilities/MultiView
  Run >NIL: <NIL: SYS:Utilities/MultiView >NIL: <NIL: {GUIDE}
Else
  Which >NIL: MultiView
  If WARN
    If EXISTS SYS:Utilities/AmigaGuide
      Run >NIL: <NIL: SYS:Utilities/AmigaGuide >NIL: <NIL: {GUIDE}
    Else
      Run >NIL: <NIL: KARACDROOT:Utilities/H/2/AG34 >NIL: <NIL: {GUIDE}
    EndIf
  Else
    Run >NIL: <NIL: MultiView >NIL: <NIL: {GUIDE}
  EndIf
EndIf

Wait 3 SECS


; Cloanto ® CD-ROM Configuration Scripts
; Copyright © 1995, 1996 Cloanto Italia srl - All Rights Reserved
; Cloanto is a registered trademark of Cloanto Italia srl
