<HTML><FONT FACE=arial,helvetica><FONT SIZE=2 FAMILY="SANSSERIF" FACE="Arial" LANG="0">Scott suggests:<BR>
<BR>
[snip]<BR>
> if "Win" is in platform() then<BR>
> put tCode into url ("file:" &tLaunchPath)<BR>
> set the hideConsoleWindows to true<BR>
> put empty into tTitle<BR>
> if "NT" is in systemVersion() then ##<BR>
> set the shellCommand to "cmd.exe"<BR>
> put quote "e into tTitle<BR>
> end if<BR>
> get shell("start" &&tTitle &"e &tURL "e)<BR>
> end if<BR>
[endSnip]<BR>
<BR>
In order to catch all of Win95/98/2K/XP/NT/ME, I would only modify the shellCommand test to read...<BR>
<BR>
if ("NT" is in the systemVersion) or ("Windows 4.90" is in the systemVersion) ##<BR>
<BR>
<BR>
Also, if you get the default browser to launch direct without using a temp file, Scott's excellent original post back in May 2002 to the mc list and for which I shall hate him forever ;)...<BR>
<BR>
on launchBrowser theURL<BR>
set the hideConsoleWindows to true<BR>
put empty into theTitle<BR>
if ("NT" is in the systemVersion) or ("Windows 4.90" is in the systemVersion) then<BR>
set the shellCommand to "cmd.exe"<BR>
put quote & quote into theTitle<BR>
end if<BR>
get shell("start" && theTitle && theURL)<BR>
end launchBrowser<BR>
<BR>
it may be useful to add a simple error trap in case the URL is already displayed with<BR>
<BR>
if the result is not empty then<BR>
answer "Please click the REFRESH buton in your browser."<BR>
end if<BR>
<BR>
/H</FONT></HTML>