tasklist help on filter /FI


  1. Posts : 16
    Win7
       #1

    tasklist help on filter /FI


    Hi,

    OS: Win 7 64bits Family Premium

    First, I wish to list everything which window title is not N/A

    I tried
    Code:
    tasklist /v /FI "WINDOWTITLE ne N/A"
    and
    HTML Code:
    tasklist /v /FI "WINDOWTITLE ne 'N/A'"
    But didn't work.

    Second, is there a possiblity to tell which window is in focus?

    Third is theresome wildcards possibility?
    e.g
    tasklist /v /FI "WINDOWTITLE eq N*"

    Thanks
      My Computer


  2. Posts : 8,608
    Windows 7 Ultimate 32bit SP1
       #2

    Not sure what you're asking, but: https://technet.microsoft.com/en-us/.../Bb491010.aspx

    /FI filter Displays a set of tasks that match a given criteria specified by the filter.
      My Computer


  3. Posts : 16
    Win7
    Thread Starter
       #3

    Sorry though it was clear.

    1/ I want to match any WINDOWTITLE which is not equal to N/A, or maybe N/A is just the display output of some special terminal character?
    2/ Is there an indicator/flag to signal which window is in focus?
    3/ Is theresome wildcards possibility, e.g, matching anything as chr* to match chrome, chromium, etc.

    Thanks
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 11:00.
Find Us