OK, here we go..............husk at connecte til din database for at få id'et med........ellers vil intet virke..
kode starter her:
-------
<table>
<%
filnavn=rs("id")
Set FSO = Server.Createobject ("Scripting.FileSystemObject")
If fso.fileexists( "d:\home\autonorden-it.dk\htdocs\work\ekstern\"&filnavn&".pdf" ) = true Then
%>
<tr>
<td><a href="
http://www.autonorden-it.dk/work/ekstern/<%=filnavn%>.pdf"><%=filnavn%>.pdf</td></tr>
<%End If%>
<%
If fso.fileexists( "d:\home\autonorden-it.dk\htdocs\work\ekstern\"&filnavn&".doc" ) = true Then
%>
<tr>
<td><a href="
http://www.autonorden-it.dk/work/ekstern/<%=filnavn%>.doc"><%=filnavn%>.doc</td></tr>
<%End If%>
<%
If fso.fileexists( "d:\home\autonorden-it.dk\htdocs\work\ekstern\"&filnavn&".xls" ) = true Then
%>
<tr>
<td><a href="
http://www.autonorden-it.dk/work/ekstern/<%=filnavn%>.xls"><%=filnavn%>.xls</td></tr>
<%End If%>
<%
If fso.fileexists( "d:\home\autonorden-it.dk\htdocs\work\ekstern\"&filnavn&".txt" ) = true Then
%>
<tr>
<td><a href="
http://www.autonorden-it.dk/work/ekstern/<%=filnavn%>.txt"><%=filnavn%>.txt</td></tr>
<%End If%>
<%
If fso.fileexists( "d:\home\autonorden-it.dk\htdocs\work\ekstern\"&filnavn&".gif" ) = true Then
%>
<tr>
<td><a href="
http://www.autonorden-it.dk/work/ekstern/<%=filnavn%>.gif"><%=filnavn%>.gif</td></tr>
<%End If%>
<%
If fso.fileexists( "d:\home\autonorden-it.dk\htdocs\work\ekstern\"&filnavn&".jpg" ) = true Then
%>
<tr>
<td><a href="
http://www.autonorden-it.dk/work/ekstern/<%=filnavn%>.jpg"><%=filnavn%>.jpg</td></tr>
<%End If%>
</table>
-----
jeg har sat et table ind i top og bund så den nu er helt HTML korrekt...du kan selv ændre til hvis du vil have det anderledes (det vil du sikkert)
det er helt igennem gennemtestet og vil du tjekke for flere filnavne kan du sikker selv finde ud af at tilføje en mere nu........håber det virker :-)
/LP