DELTREE Identifies a Directory Name as a Filename (98294)



The information in this article applies to:
    Microsoft MS-DOS operating system 6.0
    Microsoft MS-DOS operating system 6.2
    Microsoft MS-DOS operating system 6.21
    Microsoft MS-DOS operating system 6.22

This article was previously published under Q98294

SYMPTOMS

If you use the DELTREE command to delete a directory that has any of the four MS-DOS file attributes (archive, read-only, system, or hidden) set, DELTREE incorrectly identifies the directory name as a filename when asking for confirmation. For example, if you delete the subdirectory TEST with the following command

deltree c:\test

DELTREE responds with:

Delete file "test"? [yn]

This problem does not affect the result; DELTREE still deletes the subdirectory as directed.

STATUS

Microsoft has confirmed this to be a problem in MS-DOS versions 6.0, 6.2, and 6.21. We are researching this problem and will post new information here as it becomes available.

Modification Type: Major Last Reviewed: 11/19/1999
Keywords: KB98294