Archive: How to read the date and time of creation of a file


How to read the date and time of creation of a file
Hi all,

I have one driver installation setup, where I used to pass one .inf file into the Setupapi.dll. And then setupapi.dll creates its own oem*.inf and oem*.pnf inside Windows\inf directory. As sometime my installer doesn't succeed, even then these files remains in the system. I want to delete these files if the installer has failed. The only way to find the respective oem*.* file created by my installer is by seeing its date and time of creation.

So how can I read the date and time of a file and even the system date and time using NSIS.

Plz anyone help me out in this regard.

Thanks and regards
Venu


Hi, try this function in the archives http://nsis.sourceforge.net/archive/...ances=0,11,211

Hope this helps,

KenA