Created
November 7, 2017 10:18
-
-
Save m93a/cb41dcbd72ee7ff9fea3726a28d9f895 to your computer and use it in GitHub Desktop.
Enable bash.exe for 32-bit programs
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 | |
rem To use bash seamlessly from 32bit apps, | |
rem add this file to your %PATH%. | |
if exist C:\Windows\Sysnative\bash.exe ( | |
start "bash.exe" /D "%cd%" /B /wait "C:\Windows\Sysnative\bash.exe" %* | |
) else ( | |
start "bash.exe" /D "%cd%" /B /wait "C:\Windows\System32\bash.exe" %* | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment