By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,881 Members | 1,318 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,881 IT Pros & Developers. It's quick & easy.

Kinda Funny Windows Bug my 6 byte documents show up as 1KB in explorer view (see screenshot)

P: n/a
Hi Gang,
I just thought you might all get a kick out of this enormous rounding bug in
Windows Explorer (Win2K Pro Sp4). You see my 6 byte document is listed as
1KB instead of 0KB which is what it would of course round to. 6 bytes is 6
spaces from 0KB or 994 from 1KB you tell me which should it round to?
http://www.rawsacramento.org/~christ...20My%20Ass.gif
Cheers,
Christian
Nov 20 '05 #1
Share this Question
Share on Google+
7 Replies


P: n/a
Cor
Christian,
A document from 6*8 bits takes as a file on disk or something much more
room.
There are minimums to write a file and there is file information too in it .
It even can be on one disk less bytes than on the other, depending on things
as the way of partition.
I hope this helps you 2/8 byte
Cor
Nov 20 '05 #2

P: n/a
Hi Cor,
I agree that files occupy varying amounts of physical disk space based on
the current partition's cluster size, but that's not the file size is it?
That's the physical usage of the disk. Those are two different things. If
the OS actually reported the cluster space occupied by files the "file size"
reported wouldn't be of much informational value. Think about it, if you
had one file that was one byte and another that was 31KB on a 32KB cluster
size disk they'd both be reported as 32KB in size which couldn't be further
from the truth. For that very reason if you choose properties over a file
you'll see "Size on Disk: 8.00 KB (8,192 bytes)" in addition to the file
size. You may have also just noticed that the 6KB file is stored on a drive
with an 8KB cluster size :).
Cheers,
Christian

"Cor" <no*@non.com> wrote in message
news:3f**********************@reader20.wxs.nl...
Christian,
A document from 6*8 bits takes as a file on disk or something much more
room.
There are minimums to write a file and there is file information too in it .. It even can be on one disk less bytes than on the other, depending on things as the way of partition.
I hope this helps you 2/8 byte
Cor

Nov 20 '05 #3

P: n/a
Hello,

"Christian Blackburn" <Christian@Damn@Sp**@Hotmail.com> schrieb:
I just thought you might all get a kick out of this enormous
rounding bug in Windows Explorer (Win2K Pro Sp4).
You see my 6 byte document is listed as 1KB instead of 0KB
which is what it would of course round to. 6 bytes is 6
spaces from 0KB or 994 from 1KB you tell me which
should it round to?


They have changed rounding behavior in Windows XP. Here are links to
_German_ language about Windows XP's rounding behavior:

Q510325 - INFO: Rundungsverhalten unter Microsoft Windows XP gešndert
http://support.microsoft.com/default...d=kb;de;510325

Q196652 - Implementierung benutzerdefinierter Rundungsverfahren
http://support.microsoft.com/default...d=kb;de;196652

--
Herfried K. Wagner
MVP ∑ VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #4

P: n/a

"Christian Blackburn" <Christian@Damn@Sp**@Hotmail.com> wrote in message
news:ew**************@TK2MSFTNGP09.phx.gbl...
Hi Gang,
I just thought you might all get a kick out of this enormous rounding bug in Windows Explorer (Win2K Pro Sp4). You see my 6 byte document is listed as
1KB instead of 0KB which is what it would of course round to. 6 bytes is 6 spaces from 0KB or 994 from 1KB you tell me which should it round to?
http://www.rawsacramento.org/~christ...20My%20Ass.gif
Cheers,
Christian


I would expect this behaviour. The only file I would expect to be displayed
as 0KB is a 0 byte file. Displaying anything bigger than 0 bytes as 0KB
would be confusing to many users.
Nov 20 '05 #5

P: n/a
Cor
Ed,
I had the same thoughts, so it is again a matter of taste.
Cor
Nov 20 '05 #6

P: n/a
Matter of taste ?,

Pardon me but I hardly think so. There is only one answer here and that's
the right one.

The fact that I dont know the answer has nothing to do with it. ;-D

However, I would have thought that it may be the sector size. After all, the
smallest file size will be the smallest container unit on the disk. In fact
as you start filling above the 1K boundry you will see it jump to 2K.

Feell free to flame me if Im wrong
OHM

"Cor" <no*@non.com> wrote in message
news:3f**********************@reader20.wxs.nl...
Ed,
I had the same thoughts, so it is again a matter of taste.
Cor

Nov 20 '05 #7

P: n/a
No flames from me !?!, only the ones on my gas cooker :-)

I think it works as I would expect.

"Cor" <no*@non.com> wrote in message
news:3f**********************@reader20.wxs.nl...
OHM
What is better to say that the content of a file is 0Kb what is not or 1Kb
what is not.
I think 1Kb is better because that does with 100000000000000000000 files of 0Kb not give the idea that the disk is empty.
But I think that it is a matter of taste.
Flame if you don't agree, or think let it be.
Cor

Nov 20 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.