DOCUMENT:Q126672 17-DEC-2000 [win95x] TITLE :COMMAND.COM Parses Long Filenames to 8.3 Standard PRODUCT :Microsoft Windows 95.x Retail Product PROD/VER:95 OPER/SYS: KEYWORDS:win95 ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Windows 95 ------------------------------------------------------------------------------- SYMPTOMS ======== When you copy a file to a file whose long filename contains a plus sign (+) at an MS-DOS command prompt in Windows 95, COMMAND.COM parses the long filename into an MS-DOS 8.3 standard filename. For example, if you type " copy vxd__.ini vxd++.ini " (without the quotation marks) the destination file is actually named INI. This behavior occurs whether you type the command at an MS-DOS command prompt in Windows 95 or you boot the computer in the previous version of MS- DOS installed on the computer and then type the command. RESOLUTION ========== Place the last argument on the command line in quotation marks to use the long filename. For example, type " copy vxd__.ini "vxd++.ini" " (without the quotation marks) to create a destination file called VXD++.INI. STATUS ====== This behavior is by design. MORE INFORMATION ================ If you do not use quotation marks around the long filename, the filename is parsed by COMMAND.COM, and COMMAND.COM sees the plus sign as a filename separator. For example, typing " copy a+b c " (without the quotation marks) copies the files A and B together into a single file called C. Typing " copy "a+b" c " (without the quotation marks) copies the file A+B to a file called C. ====================================================================== Keywords : win95 Technology : kbWin95search kbZNotKeyword3 Version : 95 ============================================================================= 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 2000.