1. file Sizes

Hey all.

Ok, my question is this: How do you find out the size of your program?

I need to know because I am making a small app that splits large files up 
amongst many floppy disks, like pkzip does. It has to know how much space it 
& all include files & ex.exe take up.
=====================================================
.______<-------------------\__
/ _____<--------------------__|===
||_    <-------------------/
\__|Mr Trick

new topic     » topic index » view message » categorize

2. Re: file Sizes

On 25 Jan 2002, at 14:08, mistertrik at hotmail.com wrote:

> 
> Hey all.
> 
> Ok, my question is this: How do you find out the size of your program?
> 
> I need to know because I am making a small app that splits large files up 
> amongst many floppy disks, like pkzip does. It has to know how much space it &
> all include files & ex.exe take up.

Just add up all the include file sizes, the file size itself, the ex.exe file
size.
Then count them up, and add in that number times the cluster size (for the 
filename itself), and that number times the cluster size (for leftover space in 
the cluster at the ends of each file). Plus one cluster for each nested 
subdirectory you use per file on the disk.

Kat

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu