-
Notifications
You must be signed in to change notification settings - Fork 24
Description
Keypirinha (version 2.9.10 (b68b8b4) for x64) properly expands environment variables in link targets on Windows 10. For example, any link that points to %windir%\System32\mmc.exe will run C:\Windows\System32\mmc.exe if the windir environment variable is set to C:\Windows. However, this expansion is not carried out as it should be for arguments to targets. For example, the target for the link to the Hyper-V Manager administrative tool includes a command-line argument: %windir%\System32\mmc.exe "%windir%\System32\virtmgmt.msc". Note that both the target and the argument being passed to it contain the environment variable windir. When using Keypirinha to open this item, mmc.exe runs and gives the error message MMC cannot open the file %windir%\System32\virtmgmt.msc, but when opening the same item from the Windows Start menu, mmc.exe runs and opens the Hyper-V Manager console as expected.