Microsoft KB Archive/49847

From BetaArchive Wiki
Knowledge Base


Using TREE and XCOPY on Subdirectories in MS-DOS

Article ID: 49847

Article Last Modified on 5/12/2003



APPLIES TO

  • Microsoft MS-DOS 4.0 Standard Edition
  • Microsoft MS-DOS 4.01 Standard Edition
  • Microsoft MS-DOS 5.0 Standard Edition
  • Microsoft MS-DOS 5.0a
  • Microsoft MS-DOS 6.0 Standard Edition
  • Microsoft MS-DOS 6.2 Standard Edition
  • Microsoft MS-DOS 6.21 Standard Edition
  • Microsoft MS-DOS 6.22 Standard Edition



This article was previously published under Q49847

SUMMARY

The TREE and XCOPY utilities cannot detect subdirectories that have any of the following attributes: read-only, system, hidden, or archive.

In order for a subdirectory to be recognized by TREE or XCOPY, all of it's attributes must be removed. The MS-DOS Attribute command (ATTRIB) can apply and remove any of the four attributes for files and subdirectories.

MORE INFORMATION

With some subdirectories, it is more desirable to have them ignored by the TREE and XCOPY commands. One example of this is the \DELETED subdirectory created by the Microsoft MEP Editor to hold archived versions of edited files.

Please note that this limitation applies only to subdirectories that TREE or XCOPY must search for, not subdirectories that are specified on the command line.


Additional query words: 6.22 4.00 4.01 5.00 5.00a 6.00 6.20

Keywords: KB49847