Command Prompt Copy Command Strips Read Only Attribute (152733)



The information in this article applies to:

  • Microsoft Windows NT Server 3.1
  • Microsoft Windows NT Workstation 3.1
  • Microsoft Windows NT Advanced Server 3.1
  • Microsoft Windows NT Workstation 3.5
  • Microsoft Windows NT Workstation 3.51
  • Microsoft Windows NT Workstation 4.0
  • Microsoft Windows NT Server 3.5
  • Microsoft Windows NT Server 3.51
  • Microsoft Windows NT Server 4.0
  • Microsoft Windows for Workgroups
  • Microsoft Windows 95

This article was previously published under Q152733

SYMPTOMS

When you copy files using File Manager, the read only attribute is maintained when the file is copied. When you copy the same file at the command prompt using the copy or xcopy command, the read only attribute is stripped and the destination file is no longer read only.

STATUS

This behavior is expected in order to allow the copy and xcopy commands to remain consistent across operating system platforms.

Modification Type:MajorLast Reviewed:12/6/2003
Keywords:kbbug KB152733