Skip to content

Instantly share code, notes, and snippets.

@RafalSladek
Created May 1, 2017 11:34
Show Gist options
  • Select an option

  • Save RafalSladek/61c78b1d147cea4e5e0a51ac9c2ff2df to your computer and use it in GitHub Desktop.

Select an option

Save RafalSladek/61c78b1d147cea4e5e0a51ac9c2ff2df to your computer and use it in GitHub Desktop.
declare an array and kill process for every item
set "exes=Dropbox chrome evernote OfficeClicktoRun googledrivesync"
for %%e in (%exes%) do (
echo Killing process %%e...
taskkill /im %%e.exe /f
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment