Msys2-packages: after filesystem update cmd and msys shell are started

Created on 5 Apr 2016  路  15Comments  路  Source: msys2/MSYS2-packages

On Windows 10 after updating filesystem shortcut from Menu Start (*shell.bat) opens cmd and msys shell
msys2

Reverting to filesystem-2016.03-2 fixes issue.

Most helpful comment

@mati865 Fix is coming. If you don't want to reinstall MSys2 with newer installer, just replace /A /Q /K switches with /A /Q /C (only one letter changed).

All 15 comments

What happened if .bat file is started directly by Windows Run command (Win-R)?

When started from explorer or Windows Run it's fine.
Shortcut command: C:\Windows\System32\cmd.exe /A /Q /K D:\msys64\msys2_shell.bat Run in directory: C:\Windows\system32
Seems to be fine after removing C:\Windows\System32\cmd.exe /A /Q /K part.

How did you create shortcut in Start Menu?

it created by installer

I want to make sure that failed shortcut was created by installer.
This behavior comes from exit /b, which should works fine if .bat started correctly.

It was created by installer msys2-x86_64-20150512.exe.

@mati865, thanks! Will check it in 4 hours, as soon as I'll get access to my dev machine.

Something wrong with GitHub. Can create pull request for https://github.com/Alexpux/MSYS2-packages/compare/master...Karlson2k:install_fixes_01

@mati865 Fix is coming. If you don't want to reinstall MSys2 with newer installer, just replace /A /Q /K switches with /A /Q /C (only one letter changed).

Issue resolved.
@Karlson2k thank you for fast fix.

I also meet this issue. I downgrade to filesystem-201603-2. It is fine. filesystem-201604-1 doesn't work.
The hot-fix is working but I am curious what change make the difference.
Thanks

@wuhanck check this comment https://github.com/Alexpux/MSYS2-packages/issues/537#issuecomment-205987373
Modify your shortcuts in Menu Start like this.

@mati865 Thanks. I have modify the shortcuts. I just want to know if it is a designed behavior between filesystem-201603-2 and filesystem-201604-1.

@wuhanck Best explanation: https://i.imgur.com/HTisMpC.jpg

Thanks! This fixed it for me. 馃憦

Was this page helpful?
0 / 5 - 0 ratings

Related issues

OortJacek picture OortJacek  路  5Comments

Arnold1 picture Arnold1  路  8Comments

borekb picture borekb  路  4Comments

quanah picture quanah  路  5Comments

ffes picture ffes  路  8Comments