user13050631
user13050631

Reputation:

Use WMIC to get a process' window title

I was using WMIC, and I saw this:

wmic process list brief find "spotify.exe"

Anyone know what I could do instead? If preferable I would still like to use WMIC.

Upvotes: 2

Views: 960

Answers (1)

Hackoo
Hackoo

Reputation: 18827

You should try like this way with command line :

And add this switch /I means : Case-insensitive search.


wmic process list brief | findstr /I "spotify.exe"

Upvotes: 1

Related Questions