How to turn off CYGWIN MS-DOS style path warnings

Add a new Windows system variable with a variable name of “CYGWIN” and variable value of “nodosfilewarning”. That should disable the very annoying error, or you could fix it by using correct UNIX pathnames.