>From the FileUtils Helpfile
GetFileInfo function:
GetFileInfo

Gets a single files information based on a Fully Qualified PathName.  All of 
a Files information may be retrieved as a Delimited string or a single 
element of a files info can be retrieved "byName".
The elements that can be are retireved individually are: 
'Attribute','CreationDate', 'LastAccessed','LastWritten', 
'FileSize','FullName', 'ShortName' or by specifying 'All' , all the elements 
are retrieve as a delimited string in the order listed.

The Zipfile has the DLL, HelpFile and Example RMD file.

----- Original Message ----- 
From: "Michael J. Sinclair" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Tuesday, September 25, 2012 6:50 PM
Subject: [RBASE-L] - Re: Capturing File Properties


Thanks Dan,
I have the PowerPack and the Plugin does indeed return a date and time 
stamp, but I can't tell if the date and time stamp returned is the creation 
date, the last modified date or the last accessed date. The documentation 
says....

The GetTimeStamp Plugin is used to capture the date and time stamp of a 
particular file. It does not
appear in the R:BASE for Windows Plugins Menu.
Syntax:
PLUGIN GetTimeStamp vFileTimeStampTxt|FileName.ext
Where:
vFileTimeStampTxt is the variable to return the DATETIME value
FileName.ext is the actual name and extension of the file, preceding with 
the full path.
Notes:
Returned variable name and the exact file name with path must be separated 
by a "|" pipe symbol.

If I create a file, and use the plugin I get a value.
If I then edit the file and use the plugin I get a later value.
If open the file but don't change anything, the value stays the same.

Is there a way to get more detailed info?
Mike


________________________________
 From: Dan Goldberg <[email protected]>
To: RBASE-L Mailing List <[email protected]>
Sent: Tuesday, September 25, 2012 6:11 PM
Subject: [RBASE-L] - Re: Capturing File Properties


There is a plugin that gets the file date called “GetTimeStamp”

I do not have the plugin power pack but I have what I have read from the
pdf on it and it sounds like what you are looking for.

Dan Goldberg


From: Michael J. Sinclair
Sent: Tuesday, September 25, 2012 3:00 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Capturing File
Properties
Hi All,
Is there a way for rbase 9.5 to get file properties of a specific file such
as the date and time Created, Modified and Accessed?
That information is available when I right click on a file, but I don't
know how to capture that data.

My
goal is to use an External Form to print any new files placed in a 
directory,
but I want to make sure that only new files get printed. I would prefer to 
avoid
deleting the file after printing it, but if all else fails, that is what I 
would
do.

Is
there a using Rbase to identify any files within a directory that were 
created
after a specific date and time?

TIA
Mike 


Reply via email to