View Single Post
  #10  
Old 01-05-2006, 06:30 AM
David Candy
 
Posts: n/a
Default Re: 2 shortcut questions

Your answer is wrong. Explorer just rounds up to the nearest 4 k. Your stats are meaningless.

--
--------------------------------------------------------------------------------------------------
http://webdiary.smh.com.au/archives/...nt/001075.html
=================================================
"SeaMaid" <seamaid24-graphics@yahoo.com> wrote in message news:%23V0XB3kzFHA.2424@TK2MSFTNGP12.phx.gbl...
> See comments inline.
>
>
> "Wesley Vogel" <123WVogel955@comcast.net> wrote in message
> news:OXSmdQczFHA.664@tk2msftngp13.phx.gbl...
>> Navigate to C:\Documents and Settings\All Users\Start Menu
>> Right click the Start Menu | Properties | General tab |
>> What does Size show?
>> What does Size on disk show?

>
> 8.98 MB size
> 18.6 MB size on disk
> 3266 files, 599 folders
>
>> Navigate to C:\Documents and Settings\Your Name Here\Start Menu
>> Right click the Start Menu | Properties | General tab |
>> What does Size show?
>> What does Size on disk show?

>
> 875 KB size
> 1.80 MB size on disk
> 335 files, 38 folders
>
>> Right click Favorites folder | Properties | General tab |
>> What does Size show?
>> What does Size on disk show?

>
> 2.55 MB size
> 18.3 MB size on disk
> 4323 files
> 603 folders
>
>> If the cluster size for NTFS is 4KB, then 4KB will be the smallest space
>> that any file 1 byte to 4 KB will take up on the drive.
>>
>> Size is the actual size of the file. Size on disk shows the actual space
>> that the file takes up on the disk.
>>
>> The only time that Size on disk will be smaller than Size is when a
>> file/folder is compressed.
>>
>> Large cluster sizes improve performance at the expense of increased slack.
>> Small cluster sizes reduce slack at the expense of decreased performance.
>> 4KB is the default cluster size for NTFS.
>>
>> [[Rarely do file sizes exactly match the size of one or multiple clusters
>> perfectly. The data storage space that exists from the end of the file to
>> the end of the last cluster assigned to the file is called "file
>> slack". ]]
>> From...
>> File Slack Defined
>> http://www.forensics-intl.com/def6.html
>>
>> [[A cluster (or allocation unit) is the smallest amount of disk space that
>> can be allocated to hold a file. ]]
>> [[The smaller the cluster size, the more efficiently a disk stores
>> information because unused space within a cluster cannot be used by other
>> files. ]]
>> From...
>> Cluster Size
>> http://www.microsoft.com/resources/d...c_fil_lxty.asp
>>
>> [[If you are not using NTFS compression for any files or folders that are
>> contained on the volume, the difference between the Size value and the
>> Size
>> on disk value is the wasted space that occurs because the cluster size is
>> larger than necessary. Choose an optimal cluster size so that the Size on
>> disk value is as close to the Size value as possible. An excessive
>> discrepancy between the Size on disk value and the Size value is an
>> indication that the default cluster size is too large for the average file
>> size that you are storing on the volume.]]
>> How to locate and correct disk space problems on NTFS volumes in Windows
>> XP
>> http://support.microsoft.com/default...b;en-us;315688
>>
>> QUESTION #2
>> Try
>> %HOMEDRIVE% The user's home directory's drive letter.
>> %homepath% The path to the user's home directory.
>> %SystemDrive% The drive containing the Windows XP root directory.
>>
>> Type %HOMEDRIVE% into Start | Run to see what opens.
>> Type %homepath% into Start | Run to see what opens.
>> Type %SystemDrive% into Start | Run to see what opens.
>>
>> --
>> Hope this helps. Let us know.
>>
>> Wes
>> MS-MVP Windows Shell/User
>>
>> In news:OoqErtWzFHA.3312@TK2MSFTNGP09.phx.gbl,
>> SeaMaid <seamaid24-graphics@yahoo.com> hunted and pecked:
>>> QUESTION #1
>>> Assuming NTFS clusters are 4k, that means the smallest file you can save
>>> will be saved as 4k (32k in FAT32), even if the file is only 0 bytes, 1
>>> byte, 600 bytes, 1k, 2k, 3k, or 4k. Does the same apply to shortcuts? Do
>>> shortcuts also take 4k each (32k in FAT32)? My Favorites menu and Start
>>> menu for various users have MANY shortcuts. I read the articles on the
>>> Microsoft site about NTFS and file storage but could not find the answer.
>>>
>>> QUESTION #2
>>> Is there a way to make a shortcut to another place on the same drive
>>> without including the drive letter (in case the drive letter changes)?
>>>
>>> If the path to the folder is:
>>> D:\MS\XP\Updates
>>>
>>> I'd like the shortcut to be "smart" in case the drive is no longer D. Is
>>> there a way to do this?
>>>
>>> %CurrentDrive%\MS\XP\Updates
>>>
>>> That probably is bad syntax, but I think you know what I'm trying to
>>> accomplish. If the drive letter changes, that the shortcuts will still
>>> point to the same drive (be is a hard drive or a CD), rather than
>>> whatever drive is currently D.

>>

>
>

Reply With Quote