Skip to content

Instantly share code, notes, and snippets.

@thraizz
Created February 28, 2018 08:46
Show Gist options
  • Save thraizz/724c2d663d963edcc339724b0ad69d44 to your computer and use it in GitHub Desktop.
Save thraizz/724c2d663d963edcc339724b0ad69d44 to your computer and use it in GitHub Desktop.
Mute chrome with nircmd
for /f "skip=2" %%A in ('wmic process where "caption='chrome.exe'" get parentprocessid') DO nircmd.exe muteappvolume /%%A 2&goto next
:next
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment