Discussion:
error with CD command
(too old to reply)
sinan egilmez
2010-04-04 04:21:03 UTC
Permalink
I am copying some folder addresses directly from the toolbar and getting the following problem:

??? Error using ==> cd
Too many input arguments.

I am using matlab2006 on win7 ulti, xp mode.

When I pursue similar procedure on my win7 or vista with matlab 2008 and 2009 I am not facing any problems, however I have to stick with matlab2006 for some specific software.

would really appreciate if someone can help asap.
sinan egilmez
2010-04-04 04:49:04 UTC
Permalink
solved it.

you have to parse the address i.e. another cd command for each subfolder.
Jacob
2013-01-06 00:40:26 UTC
Permalink
I know this is an old post, but I was also just searching for a solution.
For anyone else with this problem, it may be from spaces in your pathname. To overcome, surround the pathname in single quotes. Ex.

cd 'c:\users\ben and jerry\documents'

To check and see if it worked, type "pwd" without quotes (print working directory).
Roytman Piccoli
2022-07-17 21:26:17 UTC
Permalink
Post by Jacob
I know this is an old post, but I was also just searching for a solution.
For anyone else with this problem, it may be from spaces in your pathname. To overcome, surround the pathname in single quotes. Ex.
cd 'c:\users\ben and jerry\documents'
To check and see if it worked, type "pwd" without quotes (print working directory).
Becouse you need use "Long name folders " or \

Loading...