RL;</P>

<P>I := Pos('#', S);</P>

<P>if I &gt;= 1 then</P>

<P>begin</P>

<P>Dest := System.Copy(S, I, 255);  {local destination}</P>

<P>S := System.Copy(S, 1, I-1);     {the file name}</P>

<P>end</P>

<P>else</P>

<P>Dest := '';    {no local destination}</P>

<P>S := FrameViewer.<A HREF="htmlexpandfilename_method.htm">HTMLExpandFileName</A>(S);</P>

<P>if FileExists(S) then</P>

<P>WinExec(StrPCopy(PC, ParamStr(0)+' '+S+Dest), sw_Show);</P>

<P>end;</P>

</BODY>
</HTML>
