bat调用cygwin

set CUR_DIR=%~dp0
set CYG_BASH=%CUR_DIR%\..\..\..\cygwin_small\bin\bash.exe --login -i -c

set curDirLinux=%CUR_DIR%
for /f "delims=" %%i in ('..\..\..\cygwin_small\bin\cygpath.exe %curDirLinux%') do (set curDirLinux=%%i)

你可能感兴趣的:(ssh)