Write a CMD file that uses Copy *.* and use CFEXECUTE

Rick

-----Original Message-----
From: Leonardo Crespo [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 04, 2003 12:17 PM
To: CF-Talk
Subject: i need a help on this

Can anyone give me a hand on this?

I got a directory that has about 120k - 180k files on it, constantly. They
re e-mails that need to be moved to the smpt pickup directory. I need to
make a schedule to pickup about 5.000 files every X minutes and move them
the apropriate directory. 

I'm currently doing:
<cfdirectory - get a list of the files (it takes forever to complete)
<cfoutput maxrows 5000 
<cffile move to correct dir>
</cfoutpu>

The problem is that CF (MX, updater 3) takes a long time (ultra long) to do
a <cfdirectory> and CPU load is 100% during this time. Can you think a way
to move those files witout having to use <cfdirectory>?

Thank you and nice weekend :)



BP

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to