The information in this article applies to:
SYMPTOMSThe MKDIR statement in Microsoft Visual Basic for MS-DOS, and Microsoft Basic Professional Development System (PDS) for MS-DOS incorrectly allows the creation of a directory with a blank space in it. When you try to change to that directory from the MS-DOS prompt, MS-DOS generates the error "too many parameters." STATUSMicrosoft has confirmed this to be a bug in the Standard and Professional Editions of Microsoft Visual Basic for MS-DOS, version 1.0; and Microsoft Basic Professional Development System (PDS) for MS-DOS, versions 7.0 and 7.1 (buglist7.00 buglist7.10). Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATIONThe syntax for the MKDIR statement is as follows: MKDIR pathname$where "pathname$" is the string variable containing the path specification and directory name to make. In Visual Basic for MS-DOS and Basic PDS for MS-DOS, the MKDIR statement incorrectly allows the pathname$ to contain a blank or space character. From within the program, you can use the CHDIR statement to change to that directory. However, at the MS-DOS prompt, you cannot change to that directory because of the blank space. The following steps reproduce the problem:
RMDIR "test tmp"The MKDIR function correctly gives the error "Path Not Found" when other illegal MS-DOS characters such as the '?' and '*' are entered in as the pathname$. Additional query words: VBmsdos buglist1.00 7.00 7.10 1.00
Keywords : |
Last Reviewed: December 9, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |