windows - How to do a taskkill in cmd based on the partial content of the windowtitle name? -


i starting command window "start "dummycommandwindow" able close window "taskkill /fi "windowtitle eq dummy*" /f /t" want close window based on partial name of window title, in, "taskkill /fi "windowtitle eq *commandwindow" /f /t". how do this??

following command kills process starts 'chrom'.

taskkill /f /im chrom* 

/f: force (use cmd prompt in admin mode only) /im: image name

i hope familiar wildcards

you can refer following msdn article


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -