Create a text document and enter the following content:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Cygnus Solutions]
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Cygnus Solutions \ Cygwin]
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Cygnus Solutions \ Cygwin \ mounts v2]
"Cygdrive prefix" = "/cygdrive"
"Cygdrive flags" = dword: 00000022
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Cygnus Solutions \ Cygwin \ mounts v2 \/]
"Native" = "e:/cygwin"
"Flags" = dword: 0000000a
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Cygnus Solutions \ Cygwin \ mounts v2 \/usr/bin]
"Native" = "e:/cygwin/bin"
"Flags" = dword: 0000000a
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Cygnus Solutions \ Cygwin \ mounts v2 \/usr/lib]
"Native" = "e:/cygwin/lib"
"Flags" = dword: 0000000a
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Cygnus Solutions \ Cygwin \ mounts v2 \/tmp]
"Native" = "e:/cygwin/tmp"
"Flags" = dword: 0000000a
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Cygnus Solutions \ Cygwin \ Program Options]
Here, my CYGWIN is installed in e: \ cygwin and should be modified according to the actual situation.
Save, close, change the file suffix to ". reg", and double-click the file. A box is displayed, and click "yes.