home *** CD-ROM | disk | FTP | other *** search
- param1=StrUpper(param1)
- cr=StrCat(Num2Char(13),Num2Char(10))
- Pause("%param1%","Insert Program Disk in Drive A %cr%Then Select Okay")
- :above
- LogDisk("a:")
- a=FileExist("a:\%param1%")
- if a==@TRUE then run(param1,"")
- if a==@FALSE then goto below
- exit
- :below
- line1="Could not find %param1% on%CR%"
- line2="the disk inserted...%cr%
- line3="%cr%"
- line4="Please verify the correct disk%cr%"
- line5="is in Drive A, Then Select Okay"
- a=StrCat(line1,line2,line3,line4,line5)
- Pause("%param1%",a)
- goto above
-