I wonder if someone can help me I have the code shown below which extracts the file names from a certain folder all the file names refer to PDF's. What I am trying to do is to list the file names and then then click on any one of them to open it.
Any help would be appreciated
Any help would be appreciated
Code:
<%
'Create FSO Object
Dim objFSO
Set objFSO = CreateObject("Scripting.FileSystemObject")
Dim objFolder
Set objFolder = objFSO.GetFolder("D:\kiwi-cag\production\CAG")
Dim Files
For Each File in objFolder.Files
Response.Write(File.Name & "<br />")
Next
%>
[/code
Regards
Olly