merge https://code.google.com/p/easyscripts/wiki/chsdir