Yes, bats are pretty fast.


Steve

-----Original Message-----
From: Robert Bailey [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 9:53 AM
To: CF-Community
Subject: RE: Which is Faster (Dos batch vs coldfusion)?


The bat file would be much faster, I would imagine.

Robert Bailey
Famous for Nothing
------------------------------------

________________________________

From: brob [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 2:24 AM
To: CF-Community
Subject: Which is Faster (Dos batch vs coldfusion)?

The database contains rows of data that has information on image files
(source name, name, location).  I want to rename the image names in the
database, as well as rename the files themselves.  I have 2 options

#1.  Have coldfusion rename the image names in the database, then rename the
files (by looping through a QUERY that has the list of image names that had
been changed)  or
#2.  Have coldfusion rename the image names in the database, then write a
Dos batch file that looks something like

ren "1" "1x"
ren "2" "2x"
ren "3" "5435x"
ren "4" "455x"
ren "5" "434x"
ren "6" "343454x"
ren "67" "43443x"

And then use CFEXECUTE to rename those files.

Which would be faster! :)
________________________________
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to