1.

Solve : Cannot change to directory in command?

Answer»

I am currently trying to CD to a FOLDER called "Lab Report" on the C drive. I can not do so, I either get the "too many parameters" error or the "invalid directory error.

I have tried:

CD Lab REPORTS - Too many Parameters Reports
CD Labrep~1 - Cannot find directory
etc

I cannot change the directory name. Any suggestions?TRY to put double quotes eg
cd "Lab reports" try a backslash...cd\dir nameQuote

Any suggestions?


I sympathize. I tried all this when in shell COMMAND:

C:> dir l*
Volume in drive C has no label.
Volume Serial Number is 07CF-0708

Directory of C:\

03/05/0708:51pLab Reports
1 File(s)0 bytes
978,223,104 bytes free

C:> cd "Lab Reports"
Parameter format not correct -"Lab

C:> cd Lab Reports
Too many parameters - Reports

C:> cd LabRepo~1
Invalid directory

C:>

I guess that is where you are. Try
C:> CMD

Then you can use "Lab Reports" with or without the Quote.

You can EVEN do CD L* (if you have no other directories that start with L)

Mac

Thanks Mac,

Worked like a bomb!


Discussion

No Comment Found