> -----Original Message-----
> From: Beru [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 19, 2005 4:49 AM
> To: CF-Talk
> Subject: How to batch a change of DSNs
> 
> Hello,
> 
> Yesterday I was requested to change a couple (~25) of server names in
> DSNs.
> I didn't want to lose my time through the "crappy" (non-practical) admin
> interface, so of course I went on doing a search/replace in "neo-
> query.xml",
> which works our fine, except that I had to stop the server while doing the
> search/replace.
> 
> Is there a less invasive way (without stopping the server) of performing
> this kind of work?

Are you on CF 7?

The admin interface (which really isn't crappy you know) is really just a CF
application.  The CFC's which provide the services for it are exposed via
the admin API - look it up at livedocs.macromedia.com

Using the API you can script the vast majority of admin changes.

Jim Davis




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221494
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to