I'm looking at a July 2014 Razzak email about the GetFileSize plugin, but when 
I try to use this in 9.5 32-bit I don't get anything.  No error message, but 
also no variable is returned.  This is integrated as part of 9.5, no add-in 
required, right?  What am I doing wrong?  The syntax I'm using:
        PLUGIN GetFileSize vFileSizeTxt | test.txt

"test.txt" does exist.  I also tried putting the full path in front of it and 
still nothing:  c:\temp\test.txt

Thanks!

Karen


-----Original Message-----


From: A. Razzak Memon
Sent: Monday, July 21, 2014 6:26 PM
To: RBASE-L Mailing List
Subject:   [RBASE-L] - Re: File lenght

At 11:23 AM 7/21/2014, [email protected] wrote:

>I do not remember if there is a command to get the length in
bytes
>of an existing file.

Daniel,

You mean the "file size" of an existing file in bytes. Correct?

If yes ...

Use GetFileSize Plugin to capture the size of a particular file.

Here's how ...

Syntax:

PLUGIN GetFileSize vFileSizeTxt|FileName.ext

Where:

vFileSizeTxt is the variable to return the text value of a given
file size.

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

Very Best
R:egards,

Razzak.

www.rbase.com
www.facebook.com/rbase
--
31 years of continuous innovation!
16 Years of R:BASE Technologies, Inc. making R:BASE what it is today!


 

Reply via email to