Re: Getting Prog Name & date of console app?

Posted by Jonny on November 27, 20011

In Reply to Getting Prog Name & date of console app? posted by Lee p12462 on August 25, 20011

: I have a console app where (instead of having to update a "version" each time I compile it) I want to just print the program name and the mod date of the .EXE file. In Delphi 7 is there an easy way to do this?
: Thanks.
-------------------------------------
For the name, try: Application.ExeName
For the date, I don't know by heart. Look in the Help for FileGetDate and DateTimeToFileDate, a combination of these and related functions?

Related articles

       

Follow Ups