C:\>cd with a space C:\with a space>
I think this is a very special case in cmd.exe (and maybe also in command.com): cd/chdir needs exactly one parameter since MS DOS 1.0, so if it is passed more than one, cmd.exe silently combines them into a single parameter.
Alexander
In reply to Re^5: Filename Surrounded by Quotes in a Scalar Variable Causes Open to Fail
by afoken
in thread Filename Surrounded by Quotes in a Scalar Variable Causes Open to Fail
by roho
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |