Lisp HUG Maillist Archive

file size on Windows?

Hi All,

can anybody tell me how I can query the size of a given file in bytes on Windows?

Thanks

Andreas


Re: file size on Windows?

 From PCL (and worked for me):

(with-open-file (in filename :element-type '(unsigned-byte 8))
(file-length in))

Mitch

Andreas Thiele wrote:
> Hi All,
> 
> can anybody tell me how I can query the size of a given file in bytes on Windows?
> 
> Thanks
> 
> Andreas
> 
> 


RE: file size on Windows?

Mitch,

thanks for the hint, sorry for being unable to find this myself :)

Andreas


> -----Original Message-----
> From: owner-lisp-hug@lispworks.com 
> [mailto:owner-lisp-hug@lispworks.com] On Behalf Of Mitch Berkson
> Sent: Wednesday, March 12, 2008 3:40 AM
> To: Andreas Thiele
> Cc: 'Lispworks HUG'
> Subject: Re: file size on Windows?
> 
> 
> 
>  From PCL (and worked for me):
> 
> (with-open-file (in filename :element-type '(unsigned-byte 
> 8)) (file-length in))
> 
> Mitch
> 
> Andreas Thiele wrote:
> > Hi All,
> > 
> > can anybody tell me how I can query the size of a given 
> file in bytes 
> > on Windows?
> > 
> > Thanks
> > 
> > Andreas
> > 
> > 
> 


Updated at: 2020-12-10 08:43 UTC