2013-10-21 : update command line functions, both win and cygwin