O
oo
How do i make RTF files open in word pad to individual sizes instead all
having the same size?
Tom
having the same size?
Tom
oo said:How do i make RTF files open in word pad to individual sizes instead all
having the same size?
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com
VanguardLH said:You query doesn't make sense. You really want WordPad to open files
that are only some specific size (in bytes)? Why? The size of the file
will be determine by how much content it holds; however, file allocation
is by clusters so the minimum file size will be 1 cluster. So when you
create a file, and unless its content matches exactly on 1 cluster for
size, there will ALWAYS be slack space at the end of your file.
http://en.wikipedia.org/wiki/Data_cluster
http://en.wikipedia.org/wiki/File_system#Space_management
http://tweaks.com/windows/37042/ntfs-cluster-size/
http://support.microsoft.com/kb/140365
In Windows Explorer when right-clicking on a file and looking at its
Properties, you'll see 2 values for size: one (Size) for how many bytes
are consumed by the content itself within the file and another (Size on
disk) which is larger for how many bytes are consumed on the storage
medium for that file due to slack space.
If you create files that are all under a cluster in content size then
they will all consume the same amount of space on the storage medium.
Not until the content size surpasses the size of a cluster will the file
occupy more than 1 cluster. It will then occupy 2 clusters even if the
file only needed 1 more byte than 1 cluster.
One way to see what is the cluster size of the storage medium is to run
'chkdsk <drive>:' in a command shell (with elevated privileges, so run
cmd.exe as admin). If, for example, 'chkdsk' says there is 4096 bytes
per allocation unit then your cluster size is 4096 bytes. You can also
use 'diskpart' to find the allocation unit size except that a mistake
with this program could screw up your partitions. If you used NTFS as
the file system then another way to get the cluster size is to run
'fsutil fsinfo ntfsinfo <drive>:' in the command shell. Look at the
"Bytes per cluster" value.
File systems use granular assignment to track file storage.
That is not a valid signature delimiter line.
Configure your choice of anti-virus software to NOT spamify your posts
with their promo pseudo-signature.
Mayayana said:| How do i make RTF files open in word pad to individual sizes instead all
| having the same size?
Do you mean that you want Wordpad to remember the
window size when you close a specific file, and then use
that size again next time you open it? That would require
saving the information in the RTF file. RTF is a fairly simple
formatting code. I don't know of any settings storage
options in that format.
.... but I looked at Mayayana's reply (and oo's response), and it wasn'tSorry
My question was badly worded, i meant document not file.
Mayayana has answered it.