The only option to find the creation date of a file on Windoze is to use
JNI or maybe a C++ tag as not all OS store the file creation date. I
remember someone on this list wrote a C++ tag to look at volume space on a
windows server a few years ago, something similiar maybe?

> Thanks Rod
>
>> This cfc is just using the
>> methods in the java.io.File class. I try to avoid windows com objects ..
>> what if the app is hosted on a *nix box? Use code at own risk.
>
> I'm assuming that's exactly why cfdirectory and java.io.File don't
> return created date. However I'm working on a specific app that I know
> is Windows only and it really needs the created date.
>
> If anyone knows why I can't instanciate that com object I'd be very
> grateful.. Error is:
>
> An exception occurred when instantiating a Com object.
> The cause of this exception was that: java.lang.RuntimeException: Can
> not use native code: Initialisation failed.



---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to