command line spaces

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I type a directory or filename with spaces into the command line

For example

cd C:\Documents and Settings\Space File.txt
 
Hi,

How do I type a directory or filename with spaces into the command line?

For example:

cd C:\Documents and Settings\Space File.txt

You enclose it in quotation marks, thus:

cd "C:\Documents and Settings"

Good luck
 
When I try the command

C:\>cd "Documents and Settings

I get

"Parameter format not correct - "Documents
 
Hi,

When I try the command:

C:\>cd "Documents and Settings"

I get:

"Parameter format not correct - "Documents

In my system it works correctly:
C:\>cd "Documents and settings\roger\Desktop"

Good luck
 
Back
Top