dar n spaces in directory name
Hey all, how goes it?
I'm using Cygwin on a windows box, kind of like putting a Ferrari engine in a Smart Car. Anyways, I'm trying to set a variable to go to this directory
/cygdrive/c/Documents and Settings/Default User/.settings
I can do it with the command...
cd /cygdrive/c/Documents\ and\ Settings/Default\ User/.settings
but I'd like to know how to set the full path to a variable and use the variable with cd. I tried using double backslashes and eval, but to no avail. I am working around with making a function with the cd command in it, but always want to know more than one way to do something. Ideas?