Hi Neil,
On Jan 29, 5:22pm, Neil Harvey wrote:
> Sorry to plague the list with seemingly trivial problems, but I am
> creating links (using LN.HPBIN.SYS) and when I do a :listfile ,2 on the
> original and the link, I get different file sizes (see below)
>
> Even finfo('file','eof') returns the link size, not the filesize.
>
> Is there a way to get the real size, given that at the time, I only know
> the linked file path.
I think that LISTFILE and FINFO (and FLABELINFO) need to be enhanced to
let the user decide whether or not to follow symbolic links. That said,
you can do a LISTFILE ,7 to see the target of the link and then a LISTFILE,2
(or finfo) on that target name to get the real eof.
regards,
Jeff Vance, CSY
--
|