[vox-tech] how to handle spaces in a directory path

Ted Deppner ted at psyber.com
Wed Oct 14 09:59:37 PDT 2009


Quote the variable when you USE them.  ie, cd "$VC_HOME"

Study up on shell expansion and you'll understand why.

On Wed, Oct 14, 2009 at 9:45 AM, Hai Yi <yihai2004 at gmail.com> wrote:
> export VIM_HOME='/cygdrive/c/Program\ Files/Vim/vim72'
> export VC_HOME='/cygdrive/c/"Program Files"/"Microsoft Visual Studio 9.0"/VC'
[del]
> Anyone can tell me what is the proper way to handle spaces in a
> directory path? In a cygwin environment?


More information about the vox-tech mailing list