Copying and Moving Compressed Files and Folders

In Windows 2000, as in Windows NT 4.0, there are rules that determine the compression state when you move and copy files and folders within and between volumes. There are also rules that determine the compression state when you move and copy files and folders between FAT and NTFS partitions. Compression is a feature of NTFS volumes only and cannot be performed on a FAT volume.

Copying compressed files and folders can cause performance degradation, because Windows 2000 uncompresses the file, copies it to the new location, and then compresses the file again.

Copying a File within an NTFS Volume

When a file is copied from one folder to another folder within an NTFS volume, the compression setting for the file changes to that of the target folder. Copying a file is like creating a new file in the target folder, so it will take on the attributes of the target folder. For example, if you copy an uncompressed file into a compressed folder, the file will be automatically compressed (see Figure 8.7).

Figure 8.7 When data is copied within an NTFS volume, the data inherits the compression attributes of the target folder.

Figure 8.7 When data is copied within an NTFS volume, the data inherits the compression attributes of the target folder.

Moving a File or Folder within an NTFS Volume

When a file or folder is moved from one folder to another within an NTFS volume, the compression setting is retained. For example, if you move an uncompressed file into a compressed folder on the same volume, the file will remain uncompressed (see Figure 8.8).

Figure 8.8 When data is moved within an NTFS volume, the data retains its compression attributes regardless of the compression status of the target folder.

' ' F

i M

k

fc

Copying or Moving a File or Folder between NTFS Volumes

When a file or folder is copied or moved from one folder to another on different NTFS volumes, the compression setting for the file changes to that of the target folder. Once again, this happens because when you copy or move a file from one volume to another, it has to create the file at the target and then delete it from the source, so it takes on the attributes of the folder in which it is created (see Figure 8.9 and Figure 8.10).

Figure 8.9 When data is copied between NTFS volumes, the data inherits the compression attributes of the target folder.

4

SOI

4 t

>

4

Figure 8.10 When data is moved between NTFS volumes, the data inherits the compression attributes of the target folder.

< *

53

>

a

Moving or Copying a File or Folder from an NTFS Volume to a FAT Volume or to a Floppy Disk

When a file or folder is moved or copied to a FAT volume, it is automatically uncompressed, because FAT does not support Windows 2000 file compression (see Figure 8.11). Floppy disks also do not support compression, as the information needed to support the NTFS file system cannot fit on a floppy, so floppies end up being FAT (see Figure 8.12).

Figure 8.11 When data is moved or copied from an NTFS volume to a FAT volume, the data is automatically uncompressed.

Figure 8.11 When data is moved or copied from an NTFS volume to a FAT volume, the data is automatically uncompressed.

Figure 8.12 When data is moved or copied from an NTFS

volume to a floppy disk, the data is automatically uncompressed.

Figure 8.12 When data is moved or copied from an NTFS

volume to a floppy disk, the data is automatically uncompressed.

You cannot choose the color for compressed files to be viewed by default, but you can do so with a Microsoft utility called TweakUI (see Figure 8.13). TweakUI is a Windows NT Powertoy that provides access to many hidden registry keys in Windows 95/98/NT/2000. One feature of this utility allows you to set the compressed data color to a different color. Powertoys were developed by Windows developers in their spare time. They are not officially supported by Microsoft, although they work very well. You can find TweakUI by browsing http://www.microsoft.com/windows and looking for Windows NT or 2000 power toys.

Figure 8.13 The Explorer tab of the TweakUl utility includes the option to change the color of compressed files at the bottom of the dialog box.

Figure 8.13 The Explorer tab of the TweakUl utility includes the option to change the color of compressed files at the bottom of the dialog box.

Was this article helpful?

+2 0

Responses

  • Tomacca
    How to copy ntfs compressed files from one disk to another?
    1 year ago
  • keiren
    How to copy compressed file?
    1 year ago
  • welde
    Can you move and delete files in a compressed folder?
    12 months ago
  • jeffrey
    How to move multiple compressed files windows?
    4 months ago
  • alanna
    Can you move file folders into a compressed folder?
    3 months ago
  • Topias
    How to copy a compressed file folder to a regular file folder?
    2 months ago

Post a comment