filesize in DOS

Programming, for all ages and all languages.
Post Reply
DIGIT4L_PUNK

filesize in DOS

Post by DIGIT4L_PUNK »

how can I get filesize using DOS system calls?
Fixthestar248

Re:filesize in DOS

Post 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.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:filesize in DOS

Post 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.
Post Reply