If Pos('\IBMLAN',Translate(Value('PATH',,'OS2ENVIRONMENT'))) > 0 Then landrive = Translate(Substr(Value('PATH',,'OS2ENVIRONMENT'),Pos('\IBMLAN',Translate(Value('PATH',,'OS2ENVIRONMENT')))-2,2))
If Pos('\MUGLIB',Translate(Value('PATH',,'OS2ENVIRONMENT'))) > 0 Then upmdrive = Translate(Substr(Value('PATH',,'OS2ENVIRONMENT'),Pos('\MUGLIB',Translate(Value('PATH',,'OS2ENVIRONMENT')))-2,2))
If Pos('\IBMCOM',Translate(Value('PATH',,'OS2ENVIRONMENT'))) > 0 Then comdrive = Translate(Substr(Value('PATH',,'OS2ENVIRONMENT'),Pos('\IBMCOM',Translate(Value('PATH',,'OS2ENVIRONMENT')))-2,2))
If landrive = '' Then Do
Say 'No LAN Server found, terminating.'
Exit 9
End
'CLS'
Say "Your system is installed on the" bootdrive "drive."
Say " "
Say "The following components have been found:"
Say " "
If landrive <> '' Then Say " LAN Requester on drive" landrive
If upmdrive <> '' Then Say " User Profile Management on drive" upmdrive
Say " "
Say "This program will now create a folder for each identified product on your"
Say "desktop, which will contain the standard WPS entries."