When you copy files from one folder to another folder within the same volume, you get the

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.

When you copy files from one folder to another folder within the same volume, you get the

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.

When you copy files from one folder to another folder within the same volume, you get the

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.

When you copy files from one folder to another folder within the same volume, you get the

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.

When you copy files from one folder to another folder within the same volume, you get the

Continue reading here: Managing Disk Quotas

Was this article helpful?

What happens when you copy a file or folder within a NTFS volume?

When you copy a protected file to a folder on the same, or a different volume, it inherits the permissions of the target directory. However, when you move a protected file to a different location on the same volume, the file retains its access permission setting as though it is an explicit permission.

What happens to the permissions of a file if you move the file to a folder within the same volume?

By default, an object inherits permissions from its parent object, either at the time of creation or when it is copied or moved to its parent folder. The only exception to this rule occurs when you move an object to a different folder on the same volume. In this case, the original permissions are retained.

Does move or Copy retain permissions?

When you copy a protected file to a folder on the same, or a different volume, it inherits the permissions of the target directory. However, when you move a protected file to a different location on the same volume, the file retains its access permission setting as though it is an explicit permission.

What happens to permissions when a file is moved to another location in the same drive?

Moving files into a shared drive does not affect sharing permissions or user roles, such as Editor or Viewer, set directly on the file. However, file permissions inherited from the folder the file was in aren't copied.