Kevin, any chance you aren't using cmd.exe? Perhaps one of the cygwin shells? Is the mkdir that is being executed the cygwin mkdir.exe instead of the cmd.exe "mkdir"?