Created
March 20, 2017 15:42
-
-
Save ksaua/926378029d4767157acfa77867530bce to your computer and use it in GitHub Desktop.
Open cygwin in current directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
SET currentdir=%cd% | |
C: | |
chdir C:\ksm\programmer\cygwin64\bin | |
for /f "tokens=*" %%i in ('cygpath %currentdir%') do set DIR_CYGPATH=%%i | |
bash --login -i -c "cd \"%DIR_CYGPATH%\"; exec bash" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment