I've got an app that uses a verity collection. I want to automate the installation process as much as possible, and this means that I don't want the users responsible for installing to have to go into the CF Administrator and manually create the collection. I'm fine with the code to create a collection programmatically. The question is, how do you test if a collection already exists on your server? The best I can think of is to do a directoryExists on the path and collection name where the collection is supposed to be created. Is this the best way to handle this? Will it have any odd side-effects or conditions where it won't behave as expected? i.e. Is it possible for the collection to be not there but the directory to still exist (barring malicious user tampering, of course)?
Also, on a side note, what's the system variable that holds the path to the ColdFusion program directory (C:\CFUSIONMX\)? My brain's sleep deprived today and it won't tell me what its called. Thanks a lot. Darren Tracey --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/
