Region address:
Http://lzsblog.appspot.com/%3Fp%3D282003
After the installation, many commands (LS, git, etc.) may be installed, but the command is not found. Here is the solution.
Find the installation directory, which contains cygwin. bat. The shortcut on the desktop points to this place.
In
@
echo
off
Add
set
CYGWIN=
tty
notitle glob
set
PATH=%PATH%;d:/cygwin/bin;d:/cygwin/sbin;d:/cygwin/usr/bin;d:/cygwin/usr/sbin;d:/cygwin/usr/
local
/bin
set
LD_LIBRARY_PATH=d:/cygwin/lib;d:/cygwin/usr/lib;d:/cygwin/usr/
local
/lib
Change D:/cygwin to your installation directory. I am on the d drive anyway (I still don't know why I want to split multiple drive letters, obviously NTFS supports multi-partition mounting to a folder ).
Note: Most of these errors occur after the installation of some magical script errors. Currently, these script errors only cause the environment variables to be unable to be properly set (the solution just now is to solve this problem ). If you have any questions about this error, please let me know.
Csdn does not support shell syntax highlighting ??!!