Article ID: 134768 - View products that this article applies to.
This article was previously published under Q134768
When you use the XCOPY command, files with long filenames may not be copied.
If the "Prevent MS-DOS-based programs from detecting Windows" option is enabled for the MS-DOS prompt, the XCOPY command does not copy files with long filenames.
Also, long filename support is not enabled in MS-DOS mode, Safe mode, or Command Prompt Only mode. Note that no MS-DOS command will move a file with a long filename in MS-DOS mode.
If the "Prevent MS-DOS-based programs from detecting Windows" option is enabled for the MS-DOS prompt, follow these steps to disable it:
Do not manipulate long filenames outside of Windows 95. When you boot to a command prompt, support for long filenames is not enabled.
Article ID: 134768 - Last Review: November 15, 2006 - Revision: 1.1
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.