First post, by Gene Wirchenko
I mistyped a cd command and got the wrong error message.
The name of the directory is eight characters long. My mistyping was the same. Since the directory is in the root directory, I typed the leading backslash. I should have seen something like:
Unable to change to: \12345678
Instead, it was like:
directoryname is longer than 8 charachters and/or contains spaces.
Try \12345~1
The typo "charachters" was in the error message.
The directoryname is being considered to be the whole parameter. This is incorrect. Note the lack of a "6" in the try line. Also, with
cd \ab\ab\ab
the suggestion is
Try \ab\ab~1
which loses one directory level.
The constraint on the length of the directoryname should be applied to each level of the name. A parameter longer than eight characters is fine. Assuming the directories exist
cd \dir1\dir2
will work just fine. If not, the above bogus error message is given.
Sincerely,
Gene Wirchenko