> > >
# Forums You may post here on any subjects related to this site or the software therein. (Most everything on this site is tied into the forums so that you may leave or post comments about it.)
## RE:more information `From:` `Date: September 24 2003 11:52 AM` |
Here`s some code that can reproduce the problem: #### Code: <!--- directory strucuture root folder1 image file ---> <cfset rootdir=`d:cfusiontemplatecfproequipmentdrawingstestroot2`> <cfset movedir=`d:cfusiontemplatecfproequipmentdrawingstestdest`> <cfdirectory action=`list` name=`thefolders` directory=`#rootdir#`> <cfdump var=`#thefolders#`> <cfloop query=`thefolders`> <cfif not comparenocase(type,`dir`) and comparenocase(name,`.`) and comparenocase(name,`..`)> <CFX_ImageInfo folder=`#rootdir##name#` filter=`*.tif`> <cfdump var=`#imageinfo#`> <cfif len(imageinfoerror) is 0><!--- got some files ---> <cfset dirname=name> <cfloop query=`imageinfo`> <cffile action=`MOVE` source=`#rootdir##dirname##file#` destination=`#movedir##file#`> </cfloop> <cfdirectory action=`delete` directory=`#rootdir##name#`> </cfif> </cfif> </cfloop>
`Copyright © 1997-2006 by Lewis A. Sellers.` Login