DOCUMENT:Q72517 21-NOV-1999 [msdos] TITLE :UNDELETE Won't Work If the Subdirectory Has Been Removed PRODUCT :Microsoft Disk Operating System PROD/VER:MS-DOS:5.0 OPER/SYS: KEYWORDS: ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft MS-DOS operating system version 5.0 ------------------------------------------------------------------------------- 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 "Microsoft MS-DOS User's Guide and Reference," Chapter 4, Working with Files, page 90, Recovering Deleted Files; and Chapter 14, Commands, page 579, UNDELETE. Additional query words: 5.00 noupd ====================================================================== Keywords : Technology : kbMSDOSSearch kbMSDOS500 Version : MS-DOS:5.0 ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 1999.