Consultor Eletrônico



Kbase P117766: How to get the modification date for a file using FILE-INFO system handle?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   6/26/2009
Status: Unverified

GOAL:

How to get the modification date for a file?

GOAL:

How to use FILE-INFO system handle?

FACT(s) (Environment):

OpenEdge 10.x
Progress 9.x
All Supported Operating Systems

FIX:

FILE-INFO:FILE-NAME = <filename>.
MESSAGE
'Full path name:' FILE-INFO:FULL-PATHNAME SKIP
'Create Date:' FILE-INFO:FILE-CREATE-DATE SKIP
'Create Time:' FILE-INFO:FILE-CREATE-TIME SKIP
'Mod Date:' FILE-INFO:FILE-MOD-DATE SKIP
'Mod Time:' FILE-INFO:FILE-MOD-TIME SKIP
'Size:' FILE-INFO:FILE-SIZE SKIP
'Type:' FILE-INFO-FILE-TYPE
VIEW-AS ALERT-BOX.