Native MS-DOS Commands and the Space CharacterID: Q166827
|
Windows NT and Windows 95 use different command interpreters to process commands at a command prompt. Windows NT uses Cmd.exe, and Windows 95 uses 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.
Windows NT and Windows 95 may generate different results for the same command when typed at a command prompt. For example, the following command generates different results in Windows 95 and Windows NT:
c:\>md This is a DirectoryIn Windows 95, this command generates the following error message:
In Windows NT, this command generates four separate folders:Too many parameters - is
C:\This
C:\is
C:\a
C:\Directory
c:\>md "This is a Directory"In this case, both operating systems create one folder with the long file name "This is a Directory."
ARTICLE-ID: Q155262
TITLE : Errors Changing Directory at Command Prompt
Microsoft Windows NT System Guide, version 3.5.
Additional query words: ldn lfn ms-dos
Keywords : NTSrvWkst
Version : 3.5 3.51 4.0 95
Platform : WINDOWS
Issue type :
Last Reviewed: February 13, 1999