como pegar a Data de Modificacao de um exe?
20/09/2004
0
Olá, como faco pra pegar a data de modificacao de um exe e jogar numa string?
Desde ja agradeco.
Desde ja agradeco.
Titanius
Curtir tópico
+ 0
Responder
Posts
21/09/2004
Aroldo Zanela
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´))));
Responder
Clique aqui para fazer login e interagir na Comunidade :)