cd(1) and variables with spaces (cygwin)
问题 I've been having quite an unusual problem. In my .bashrc file, I have set a variable to a path name with spaces in it. I had a feeling this would cause problems, but I played around with setting an alias in a similar way and got it to work like so: alias npp="\"/cygdrive/c/Program Files (x86)/Notepad++/notepad++.exe\"" Now, I thought I could use the same trick for my environment variable - export PRO="\"/cygdrive/c/Program Files (x86)\"" This worked. Kind of. [myName] $ echo $PRO "/cygdrive/c