command line spaces

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
 
R

roger

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
 
G

Guest

When I try the command

C:\>cd "Documents and Settings

I get

"Parameter format not correct - "Documents
 
R

roger

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top