I have rls 5.02. Is there a problem with the "filesize" command? It works fine on smaller files but will not return an accurate size on a file of 4g. It returns a size of 872651776 for a file size of 3.342G
Thanks
filesize command problem
Moderators: JRL, Dorian (MJT support)
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
-
- Newbie
- Posts: 18
- Joined: Fri Mar 19, 2004 4:59 pm
- Location: Ephrata, Washington USA
- Contact:
Is the file on one of the hard drives of the PC or on a "Novell" file server? We have had a problem with Novell and files larger than 4GB. It may be fixed now, but we could not copy a file larger than 4GB to a Novell file server. We could copy from one Windows PC to another Windows PC without any problem.
Have a try with DOS' dir command.
Run Program> COMSPEC /C dir \ /B /-C > \
ReadLn>\,
..., Output
Afterwards you've to do some of the well known
Bits&Bytes math to get it in MB/GB
Let>Output=%Output%/1024
etc. ...
-----
BTW: you've to replace COMSPEC with:
command.com (Win9x/ME)
or
cmd.exe (WinNT/W2K/XP)
Run Program> COMSPEC /C dir \ /B /-C > \
ReadLn>\,
..., Output
Afterwards you've to do some of the well known

Let>Output=%Output%/1024
etc. ...
-----
BTW: you've to replace COMSPEC with:
command.com (Win9x/ME)
or
cmd.exe (WinNT/W2K/XP)