jackaudio / jack2

jack2 codebase
GNU General Public License v2.0
2.19k stars 374 forks source link

Windows: Command Prompt is renamed "Jack Command" on installation of JACK #303

Open shoogle opened 6 years ago

shoogle commented 6 years ago

I'm also getting this issue, which @thejsa accidentally reported at https://github.com/jackaudio/jack1/issues/48.

Hiya, I installed JACK 1.9.10 x64 on Windows 10 Pro x64 (Build 14393 / Anniversary Update) but was quite shocked to discover that the Command Prompt had been replaced by Jack Command (including on my Start menu and Start tiles), and that the default working directory was changed to the JACK installation folder. Instead of userping CMD, could you instead change the shortcut to point to a batch script which sets the working directory and PATH, etc.?

I'm running Jack 1.9.10 on fully up-to-date Windows 10 Home x64 with Fall Creators Update.

shoogle commented 6 years ago

UPDATE: This appears to be a Windows 10 issue rather than a JACK issue. All JACK does is create a shortcut to cmd.exe that's set to start in "C:\Program Files\Jack". The original "Command Prompt" shortcut is still there, but it is no longer displayed in the Start menu because of this issue with Windows 10.

Workaround: Until Microsoft fixes the underlying issue, the best thing to do is simply delete (or hide) the "Jack Command" shortcut in Windows 10:

  1. Open the Start menu and search for "cmd"
  2. If the result is "Command Prompt" or "cmd.exe" then the bug is fixed - you can stop here!
  3. If the result is "Jack Command" then right-click on it and go to "Open file location".
  4. Delete the "Jack Command" shortcut (or set it to hidden via right-click Properties).

This will restore access to CMD. The Jack developers may want to consider disabling the creation of the "Jack Command" shortcut on Windows 10 until Microsoft fixes the bug.

tobygf commented 5 years ago

I also noticed this issue: I figured it was nothing to worry about, and indeed it has been resolved after I uninstalled Jack for unrelated reasons. I have noticed, though, that when I search for "jack" in Start it now comes up with Command Prompt—is there any way to remove this association?

shoogle commented 5 years ago

I'm afraid I can't help there @tobygf, but this SuperUser answer gives possible way for Jack to avoid the problem arising in the first place: create a symlink or hard link to CMD and then create a shortcut to the symlink. (Of course, it would be nice if Microsoft would just fix the issue with the Start Menu so that it wouldn't be necessary to use workarounds like this.)

danellisuk commented 4 years ago

I had "Jack Command" showing instead of "Command" in my start menu. After updating to Windows 10 release 1909, the original "Command" shortcut has been restored.