Go Back   Velocity Reviews > Newsgroups > A+ Certification
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

A+ Certification - Question: Windows Explorer File Sizes

 
Thread Tools Search this Thread
Old 10-26-2003, 02:40 AM   #1
Default Question: Windows Explorer File Sizes


Does Windows Explorer show the ACTUAL SIZE of a file, or the number of bytes
(i.e. clusters) ACTUALLY OCCUPIED on the disk? (Given that Explorer rounds
all file sizes up to the nearest 1kB). If you respond, please include proof
or reference.

js.




JS
  Reply With Quote
Old 10-26-2003, 04:24 AM   #2
JimW±
 
Posts: n/a
Default Re: Question: Windows Explorer File Sizes
ntdetect
Size in Windows Explorer: 34 KB

Properties of ntdetect:
Size: 33.9 KB (34,724 bytes)
Size on disk: 36.0 KB (36,864 bytes)


JS <> wrote:
> Does Windows Explorer show the ACTUAL SIZE of a file, or the number
> of bytes (i.e. clusters) ACTUALLY OCCUPIED on the disk? (Given that
> Explorer rounds all file sizes up to the nearest 1kB). If you
> respond, please include proof or reference.
>
> js.



JimW±
  Reply With Quote
Old 10-26-2003, 07:07 AM   #3
JS
 
Posts: n/a
Default Re: Question: Windows Explorer File Sizes
hi AT and Jim W±,
Thanks - that helps, and it answers my next question, which was "How do
you find out your cluster size?"
This is very interesting - I have a 10-byte file (8 characters plus
carriage return/line feed), which shows the following THREE(!) sizes:
10 bytes (the file's properties in Win Explorer)
8192 bytes used (the file's properties in Win Explorer)
1kbytes (size column in Win Explorer)

So, like you said, Win Explorer shows the actual size, albeit rounded up
to the nearest 1kB, and it will even tell you the cluster size if you write
a tiny text file.

Thanks,
js.

"AT" <torgny@@direcway.com> wrote in message
news:V3Kmb.2861$ nk.net...
> This will tell you that the reported size in Windows Explorer is the

actual
> size of the file. In the properties of the file you can also see the size

on
> disk (or as you call it the occupied size) which will differ depending on
> what cluster size you are using on your hard disk. This means that the

size
> on disk can normally show up to your cluster size (should really be called
> Allocation Unit) greater then the actual file size. Since I'm using 512B
> cluster my ntdetect is occupying 34.0 KB (34,816 bytes). The reason for

Jim
> to get 36KB is that he is probably using 4KB clusters.
>
> AT
>
> "JimW±" <> wrote in message
> news:E%Hmb.181528$6C4.86710@pd7tw1no...
> ntdetect
> Size in Windows Explorer: 34 KB
>
> Properties of ntdetect:
> Size: 33.9 KB (34,724 bytes)
> Size on disk: 36.0 KB (36,864 bytes)
>
>
> JS <> wrote:
> > Does Windows Explorer show the ACTUAL SIZE of a file, or the number
> > of bytes (i.e. clusters) ACTUALLY OCCUPIED on the disk? (Given that
> > Explorer rounds all file sizes up to the nearest 1kB). If you
> > respond, please include proof or reference.
> >
> > js.

>
>





JS
  Reply With Quote
Old 10-26-2003, 08:07 PM   #4
Geoff
 
Posts: n/a
Default Re: Question: Windows Explorer File Sizes
JS wrote:
> hi AT and Jim W±,
> Thanks - that helps, and it answers my next question, which was
> "How do you find out your cluster size?"
> This is very interesting - I have a 10-byte file (8 characters
> plus carriage return/line feed), which shows the following THREE(!)
> sizes: 10 bytes (the file's properties in Win Explorer)
> 8192 bytes used (the file's properties in Win Explorer)
> 1kbytes (size column in Win Explorer)
>
> So, like you said, Win Explorer shows the actual size, albeit
> rounded up to the nearest 1kB, and it will even tell you the cluster
> size if you write a tiny text file.
>
> Thanks,
> js.



i made a 1byte sized file (1 char in notepad)
normal explorer view shows 1kb filesize
properties shows:
size 1 bytes (1 bytes)
size on disk : 64.0 KB (65,536 bytes)

so i'm using 64kb clusters, it's an easy way to find out what cluster size
you have
oh by the way, don't use 64kb cluster size, it kinda sux




Geoff
  Reply With Quote
Old 10-27-2003, 01:46 AM   #5
JimW±
 
Posts: n/a
Default Re: Question: Windows Explorer File Sizes
Size on disk (default XP anyway) is always multiple of 4 KB


JimW± <> wrote:
> ntdetect
> Size in Windows Explorer: 34 KB
>
> Properties of ntdetect:
> Size: 33.9 KB (34,724 bytes)
> Size on disk: 36.0 KB (36,864 bytes)
>
>
> JS <> wrote:
>> Does Windows Explorer show the ACTUAL SIZE of a file, or the number
>> of bytes (i.e. clusters) ACTUALLY OCCUPIED on the disk? (Given that
>> Explorer rounds all file sizes up to the nearest 1kB). If you
>> respond, please include proof or reference.
>>
>> js.



JimW±
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Reset / Recover Forgotten Windows NT / 2000 / XP / 2003 Administrator Password wskaihd Software 2 11-17-2009 02:01 AM
How to activate Remote Assistance with XP using Windows Live Messenger Oziisr General Help Related Topics 0 02-01-2008 04:45 PM
Computer Security aldrich.chappel.com.use@gmail.com A+ Certification 0 11-27-2007 02:11 AM
MCITP: Enterprise Support Technician MileHighWelch MCITP 1 06-19-2007 10:25 PM
Re: Question about MS critical updates John Coode A+ Certification 0 06-30-2004 06:08 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46