como pegar a Data de Modificacao de um exe?
Olá, como faco pra pegar a data de modificacao de um exe e jogar numa string?
Desde ja agradeco.
Desde ja agradeco.
Titanius
Curtidas 0
Respostas
Aroldo Zanela
20/09/2004
Colega,
Description
Call FileAge to obtain the OS timestamp of the file specified by FileName. The return value can be converted to a TDateTime object using the FileDateToDateTime function. The return value is -1 if the file does not exist.
Exemplo:
function FileAge(const FileName: string): Integer;
Description
Call FileAge to obtain the OS timestamp of the file specified by FileName. The return value can be converted to a TDateTime object using the FileDateToDateTime function. The return value is -1 if the file does not exist.
Exemplo:
ShowMessage(DateToStr(FileDateToDateTime(FileAge(´C:\Fontes\Analisador\Analisador.exe´))));
GOSTEI 0
Titanius
20/09/2004
Isso mesmo cara, valeu mesmo :D
GOSTEI 0