Microsoft KB Archive/97442

= Undelete for Windows Allows a &quot;?&quot; in a Directory Name =

Article ID: 97442

Article Last Modified on 11/19/1999

-

APPLIES TO


 * Microsoft MS-DOS 6.0 Standard Edition

-



This article was previously published under Q97442



SYMPTOMS
When you use Microsoft Undelete for Windows to recover a directory, you can type a question mark ? as the first character of the new directory name. Since the question mark character is a wildcard in MS-DOS, none of the commands or programs provided with MS-DOS 6.0 (for example, RD, DELTREE, and MOVE) can delete or rename this newly recovered directory.

If you run the CHKDSK command with an invalid directory name such as \?EST or \LPT1, an error message similar to the following is displayed:

Cannot CHDIR to C:\ tree past this point not processed

where is the directory name you typed.



CAUSE
If you use the wildcard prefix, Undelete creates a file or directory with the wildcard character in the name (for example, ?FILE.DOC), and none of the File Manager commands or programs provided with Microsoft Windows can work with it if it is a directory.



WORKAROUND
To work around this problem, use a third-party disk editing program, such Norton Utilities by Symantec or PC Tools by Central Point Software.

NOTE: You can use the DEL command at the MS-DOS command prompt to delete the file. For example,   DEL ?FILE.DOC deletes the file ?FILE.DOC.

WARNING: If your file has a single-character name and you use the wildcard character, the wildcard replaces the one-character file name (for example, 1.DOC becomes ?.DOC). In this case, you should not use the DEL command to delete the file as this command deletes all files with the same file extension. Use a third-party disk editing program to rename the file.

Norton Utilities and PC Tools are manufactured by vendors independent of Microsoft; we make no warranty, implied or otherwise, regarding these products' performance or reliability.

Additional query words: 6.00 diskedit diskfix de pctools

Keywords: KB97442

-

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

© Microsoft Corporation. All rights reserved.