Article ID: 166827 - Last Review: February 26, 2007 - Revision: 2.2 Native MS-DOS Commands and the Space CharacterThis article was previously published under Q166827 SUMMARY
The Windows operating system uses various command interpreters to process
commands at a command prompt, such as Command.com. This can cause confusion when you are using native, or internal, commands (such as CHDIR, MKDIR, RMDIR, and so on) at a command prompt, particularly in conjunction with the space character.
MORE INFORMATION
Various Windows operating systems may generate different results for the same command when typed at a command prompt. For example, the following command generates different results:
c:\>md This is a Directory
In Windows 95, this command generates the following error message:
Too many parameters - is
C:\This C:\is C:\a C:\Directory Note that in each case, the interpreter does not create a long file name or long folder name that includes spaces without the use of quotation marks. To create a long folder name with spaces at a command prompt, use quotation marks as in the following example: c:\>md "This is a Directory"
In this case, both operating systems create one folder with the long
file name "This is a Directory."
REFERENCES
Microsoft Windows NT System Guide, version 3.5.
APPLIES TO
| Article Translations
|
Back to the top
