files with spaces in the full path

A

analyst41

I have a file called test in C:\documents and settings\desktop

If I cd to documents and settings and say "type desktop\test" it works
fine.

If teh present working directory is C: and I say "type C:\documents and
settings\desktop\test" then I get an error message

The system cannot find the file specified.
Error occurred while processing: documents.
The system cannot find the file specified.
Error occurred while processing: and.
The system cannot find the path specified.

It looks like spaces in the path are causing the problem. Is there a
way to get around this ?

Thanks for any help.
 
D

David E. Ross

I have a file called test in C:\documents and settings\desktop

If I cd to documents and settings and say "type desktop\test" it works
fine.

If teh present working directory is C: and I say "type C:\documents and
settings\desktop\test" then I get an error message

The system cannot find the file specified.
Error occurred while processing: documents.
The system cannot find the file specified.
Error occurred while processing: and.
The system cannot find the path specified.

It looks like spaces in the path are causing the problem. Is there a
way to get around this ?

Thanks for any help.

Try putting quotes just around the directory.
type "C:\documents and settings\desktop\test"

--

David E. Ross
<http://www.rossde.com/>

Concerned about someone (e.g., Pres. Bush) snooping
into your E-mail? Use PGP.
See my <http://www.rossde.com/PGP/>
 
A

analyst41

David said:
Try putting quotes just around the directory.
type "C:\documents and settings\desktop\test"

--

David E. Ross
<http://www.rossde.com/>

Concerned about someone (e.g., Pres. Bush) snooping
into your E-mail? Use PGP.
See my <http://www.rossde.com/PGP/>

Thank you very much. I checked out your website - you seem to be a
real cool dude. Liberalism will endure - Bush, Limbaugh etc. are
passing phenomena.
 
H

HeyBub

Thank you very much. I checked out your website - you seem to be a
real cool dude. Liberalism will endure - Bush, Limbaugh etc. are
passing phenomena.

Maybe not. Be sure to watch the season priemer of "24 Hours" Sunday night.

Liberalism will endure (hopefully in a few closets in the federal government
and academic zoos) only if the conservatives make sure the country endures.
 

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