Skip to content

Instantly share code, notes, and snippets.

@elieux

elieux/mingw32.cmd

Last active Sep 10, 2019
Embed
What would you like to do?
MSYS2 start scripts
@echo off
set MSYSTEM=MINGW32
"%~dp0msys2.cmd" %*
set MSYSTEM=
@echo off
set MSYSTEM=MINGW64
"%~dp0msys2.cmd" %*
set MSYSTEM=
@echo off
setlocal
set PATH=%SystemRoot%\System32;%SystemRoot%;%SystemRoot%\System32\Wbem
set MSYSROOT=D:\msys64
if "%MSYSTEM%"=="" (
set MSYSTEM=MSYS
)
if "%1"=="" (
set CMD=-i
) else (
set CMD=-c "%*"
)
rem set MSYS=winsymlinks:nativestrict
rem set MSYS=error_start:%MSYSROOT%\mingw64\bin\qtcreator.exe^|-debug^|^<process-id^>
set CHERE_INVOKING=1
start "" "%MSYSROOT%\usr\bin\mintty" -i /msys2.ico -e /usr/bin/bash --login %CMD%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.