I love using Cygwin on Windows, as you may of guessed from other posts I like the command line, and I like using environment variables where you can, so you can set things up to work on any machine once the variables are set.
I have a Windows enviroment set for my drop box location, but because it's in Documents and Settings\My Documents etc. Bash has a problem with the spaces. Instead of escaping all the charcaters, there is a simplier way.
In the bottom of my .bash_profile I have the line
dropbox=$(cygpath -u $(cygpath -m -s "$dropbox")) ; export dropbox
This will then do the conversion for you so it looks like
I am always interested in feedback so please feel free to add any comments, or you can mail me here. If you would like to submit a quick tip with full credit and links back to your site then also feel free to contact me.