JSMCM
asked on
File size vs Actual Size
Hi,
I am writing an app for a mobile type device running windows CE, using embedded visual C++. I need to copy files from the PC to the mobile device. There is about 8000 files, but each one is very small.
The problem is that even though they are small, the size on disk (block size) x 8000 means that I run out of space on the mobile device.
Is there any way around this? I am using normal text files.
Would a binary file be smaller?
Thanks,
John
I am writing an app for a mobile type device running windows CE, using embedded visual C++. I need to copy files from the PC to the mobile device. There is about 8000 files, but each one is very small.
The problem is that even though they are small, the size on disk (block size) x 8000 means that I run out of space on the mobile device.
Is there any way around this? I am using normal text files.
Would a binary file be smaller?
Thanks,
John
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Another option - make one long file and an index file near it saying from which position begins new portion of the text and its size.
It will be better if the long file will be the binary and will contain the compressed text blocks.
It will be better if the long file will be the binary and will contain the compressed text blocks.
ASKER
Anyway, thanks for your input