Microsoft KB Archive/72517

= UNDELETE Won't Work If the Subdirectory Has Been Removed =

Article ID: 72517

Article Last Modified on 11/16/2006

-

APPLIES TO


 * Microsoft MS-DOS 5.0 Standard Edition

-



This article was previously published under Q72517



SUMMARY
Removing the subdirectory after deleting files contained within the subdirectory will cause UNDELETE to fail even if the MIRROR /t command is running. To recover deleted files, re-create the subdirectory with the MKDIR (MD) command, then use the UNDELETE feature.

The UNDELETE command defaults to the current directory. If the subdirectory of the root had been deleted, the default directory is the root directory. For multiple subdirectory structures, the default is the next higher subdirectory.

Note: MIRROR /t must be running prior to any file deletion.



MORE INFORMATION
When you are running MIRROR /t in the AUTOEXEC.BAT file to track deleted files, observe caution before removing the subdirectory where the files were located.

If the deleted files are located in a subdirectory that has been removed with the RMDIR (RD) command, all possibilities for file undeletion are lost unless the subdirectory is re-created with the MKDIR (MD) command prior to UNDELETE.

Additional information using the UNDELETE command is located in the version 5.0 &quot;Microsoft MS-DOS User's Guide and Reference,&quot; Chapter 4, Working with Files, page 90, Recovering Deleted Files; and Chapter 14, Commands, page 579, UNDELETE.

Additional query words: 5.00 noupd

Keywords: KB72517

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.