set file=fileIO(mNew,"read","c:\windows\bootcd.ini")
-- alert(string(updateFlag))
if (objectP(file)) and (not updateFlag) then
set myline="temp"
repeat while myline<>""
set myline=file(mReadLine)
if offset("browser=",myline)>0 then
set browser=char 9 to length(myline) of myline
exit repeat
end if
end repeat
file(mDispose)
if browser=#undefined then
alert("You have not yet specified a browser for your use. Could you locate the browser you wish to use?")
set file=fileIO(mNew,"?read","exe")
if objectP(file) then
set browser=file(mFileName)
file(mDispose)
set file=fileIO(mNew,"write","c:\windows\bootcd.ini")
file(mWriteString,"browser="&browser)
file(mDispose)
else
alert("You have opted not to choose a browser this session. If you change your mind, you can set the browser path in the bootNet section of this application.")
set browser=#none
end if
end if
else
alert("Please select the path to the browser you wish to use.")
set file=fileIO(mNew,"?read","exe")
if objectP(file) then
set browser=file(mFileName)
file(mDispose)
set file=fileIO(mNew,"write","c:\windows\bootcd.ini")
file(mWriteString,"browser="&browser)
file(mDispose)
alert ("You have chosen the path: "&browser&". This will now be stored for future reference.")
else
alert("You have opted not to choose a browser this session. If you change your mind, you can set the browser path in the bootNet section of this application.")