Microsoft KB Archive/93592

= Correcting Illegal Directory Names With DELTREE and MOVE =

Article ID: 93592

Article Last Modified on 11/19/1999

-

APPLIES TO


 * 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 Q93592



SUMMARY
The MS-DOS DEL command cannot be used to delete a directory with a blank space in the name (for example &quot;C:\MY WORK&quot;). However, you can use the MS-DOS programs DELTREE and MOVE to delete or rename these directories.



MORE INFORMATION
Some utilities and installation programs allow you to create directory names with illegal characters (such as spaces). Because a directory name with a space or other illegal character is not expected, DEL was not designed to work with them.

Using DELTREE to Delete Illegal Directories
The DELTREE program can be used to delete illegal directories. For example, type the following at the MS-DOS command prompt:

DELTREE &quot;MY WORK&quot;

NOTE: You must type the quotation marks.

Using MOVE to Rename Illegal Directories
The MOVE program can be used to rename illegal directories. For example, type the following at the MS-DOS command prompt:

MOVE &quot;MY WORK&quot; MY_WORK

NOTE: You must type the quotation marks.

Additional query words: 6.22 6.0 6.00 6.20 invalid

Keywords: KB93592

-

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

© Microsoft Corporation. All rights reserved.