title: How do I create hyperlinks from dynamic dropdown list?
body: <p>I have a directory that has a MP4 file added to it each night. I want to be able to list the contents of that directory and allow the user to select any file name and play that video. I was able to list the directory, I am now having trouble figuring out how to make it so that the file they choose from the drop down can be selected to play. This is where I am at the moment...</p>
  
  <pre><code>&lt;html&gt;
  &lt;%@ Language=VBScript  ENABLESESSIONSTATE = False%&gt;
  
  &lt;select id="selFiles" name="selFiles" class="Select" style="width: 200px" tabindex="130"&gt;
  
  &lt;% 
  Dim fso, folder, files
  Set fso = CreateObject("Scripting.FileSystemObject")  
  Set folder = fso.GetFolder("E:\Video")  
  Set files = folder.Files    
  For each folderIdx In files 
  
  Response.Write("&lt;option&gt;" + folderIdx.Name + "&lt;/option&gt;")
  
  Next
  %&gt;
  &lt;/select&gt;
  &lt;html&gt;
  </code></pre>