theevilone
IS-IT--Management
I am using CFDIRECTORY to display the contents of a directory, but I want to pass the value of a variable into the path. I have tried the method below, without success.
<cfset #test# = "e:\web\xyz\#variable#\images">
<CFDIRECTORY directory = #test# NAME="myDirectory" SORT="name ASC, size DESC" action="LIST">
Can anyone suggest a way of listing the contents of a directory, using this, or another method.
Thanks in advance.
<cfset #test# = "e:\web\xyz\#variable#\images">
<CFDIRECTORY directory = #test# NAME="myDirectory" SORT="name ASC, size DESC" action="LIST">
Can anyone suggest a way of listing the contents of a directory, using this, or another method.
Thanks in advance.