Can't you get all that using the Admin API? http://livedocs.adobe.com/coldfusion/8/htmldocs/basiconfig_37.html
Paul. On Mon, Jan 26, 2009 at 11:18 AM, Jason Fisher <ja...@wanax.com> wrote: > You can get the list of DSNs like so: > > /* Get "factory" */ > variables.fObj = createObject("java", "coldfusion.server.ServiceFactory"); > /* Get datasource service */ > variables.dsService = variables.fObj.getDataSourceService(); > /* Get data sources */ > var dsFull = variables.dsService.getNames(); > > That will return dsFull as an array of DSN names on the server. Not sure > where to get the file locations, but I'm guessing you can find in the > DataSourceService. > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318552 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4