set directories with spaces

Simon Lord slord at mac.com
Fri Jun 28 01:29:01 EDT 2002


Doesn't work either.

Under most Unices you would use quotes to close the filename:

cd /Volumes/"Mac OS X"

This works if I run it through shell(), but that's not what I'm 
trying to do.  I want to set the directory internally to MC, 
driving me a little nuts at the moment.

On Friday, June 28, 2002, at 01:10 AM, Yennie at aol.com wrote:

> << I wonder if this is a OSX problem, but the following does not
> work at all:
>
> set the directory to "/Volumes/Mac OS X"
>
> I cannot set the directory to any path that has spaces in the 
> filename. >>
>
> What happens if you escape the spaces:
>
> set the directory to "/Volumnes/Mac\ OS\ X"
>
> I think that's what you need on the command line, so...
>
> HTH,
> Brian
>
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard
>
>
Sincerely,
Simon




More information about the metacard mailing list