Reporting size of external file

JamieBrownJamieBrown Member Posts: 107
Hi All,

I have a report that amongst other things reports back the filename, age and last modified time of an external file. I'd also like to display the file size, however when I report the FileRec.size (I'm using the File Table 2000000022) I get strange sizes back (well they look strange anyway) Heres two examples:

File Size = 1342865408 (Which I know is approx. 9.7GB file)
File Size = -909934592 (Which I know is approx. 7.5GB file)

My question is, if and how can I convert this number into a usable figure?

Thanks

Comments

  • PeterDPeterD Member Posts: 66
    I think you will have to work with: integer between -2,147,483,647 and 2,147,483,647
    It will wrap around when the value gets to big.

    Of maybe use Windows Scripting Host to get the file size.
Sign In or Register to comment.