turbosig
asked on
Looping through directories in MX
OK, I am new to coldfusion, so still learningthe tags, etc.
What I want to do is mimic the FileSytem object of .asp. Basicall convert the following code into coldfusion tags / functions.
************************** ********** ****
Set objFSO = Server.CreateObject("Scrip ting.FileS ystemObjec t")
Set objFolder = objFSO.GetFolder(strPathMo vies)
For Each objSubFolder in objFolder.SubFolders
For Each objFile in objSubFolder.Files
Response.write objFile.name
Next
Next
************************** ********** ****
What I want to do is mimic the FileSytem object of .asp. Basicall convert the following code into coldfusion tags / functions.
**************************
Set objFSO = Server.CreateObject("Scrip
Set objFolder = objFSO.GetFolder(strPathMo
For Each objSubFolder in objFolder.SubFolders
For Each objFile in objSubFolder.Files
Response.write objFile.name
Next
Next
**************************
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
:-)
Regards
Hart
Regards
Hart
ASKER