Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#30 CD.. returns illegal command error

v0.50
closed
5
2012-09-07
2002-08-28
No

Problem:
When I tried to move to the parent directory, by
executing Cd.. it gave an illegal command error
message. "CD.." is standard dos syntax and should be
added.

Repro:
(On Version 0.50)
1. Type "mount c C:\" and press enter
2. Type "md joe" and press enter
3. Type "cd joe" and press enter
4. Type "cd.." and press enter

Result:
The following error message is displayed:
"C:\joe>cd..
Illegal command"

Expected:
The path should change to "C:\>" without errors.

Comments:
I was thinking that perhaps your command line input
system isn't designed to handle this type of syntax. If
so you might just try setting the text "CD.." as an
equivelant to "CD .." and check for "CD.." before filtering
for valid syntax.

Discussion

  • Peter Veenstra
    Peter Veenstra
    2002-08-29

    Logged In: YES
    user_id=535630

    This bug has been fixed in the cvs version and will be in the
    upcoming 0.55 version.

    we now detect it if .. is added to a command. if so we split
    the commandline overthere.

    Thanks for submitting the bug