Page 1 of 1

filesize in DOS

Posted: Sat Jan 07, 2006 2:10 pm
by DIGIT4L_PUNK
how can I get filesize using DOS system calls?

Re:filesize in DOS

Posted: Sat Jan 07, 2006 2:36 pm
by Fixthestar248
I don`t think there is a system call for files. ???
Then again, I still haven`t really programmed since I was 8.

Re:filesize in DOS

Posted: Tue Jan 10, 2006 4:12 am
by Pype.Clicker
http://www.ctyme.com/intr/cat-010.htm

The RBIL might help ... when 'get the file size' doesn't exist, you still can use the good old trick of seeking to the end of the file and then reading the current position.