> I had thought about writing the files with CF instead of > using the scripting object, but to me there seems like > less of a chance of something going wrong with using the > WMI instead of writing the files (hopefully correct), > editing the registry and then restarting the service. > With the script object all of this gets done for me, don't > think the DNS service even needs to get reset.
If you're using Windows 2000 DNS, I'd agree with you that your best bet is to use the WMI interface, rather than messing with zone files. Instead of using CFEXECUTE, you could modify the WSH files that you're calling so that they're Windows Script Components, which can be invoked with CFOBJECT. That would probably be a little more work, though. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

