home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch.nt      Fun with Windows NT batch files      68,980 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 67,841 of 68,980   
   Tom Del Rosso to All   
   Bug in tasklist output   
   07 Jan 22 08:18:49   
   
   From: fizzbintuesday@that-google-mail-domain.com   
      
   I've noted before that when you pipe tasklist to FIND, it often (maybe   
   usually), fails to see some of the output unless there is another   
   program in between. This could be SORT or any other stdin/stdout   
   program.   
      
   For example, the first line sees firefox, but the second line usually   
   doesn't see it.   
      
   >tasklist|sort|find /i "firefox"   
   firefox.exe                 3908 Console                 0  1,269,432 K   
      
   >tasklist|find /i "firefox"   
   [usually no output]   
      
   Now, I just wanted to follow up with the observation that if you run   
   this repeatedly you get output that is truncated in a different way each   
   time:   
      
   tasklist|find /v "xxxx"   
      
   This gives a little insight into the bug. WMIC can also give a task list   
   but I haven't tested it much.   
      
      
   --   
   Defund the Thought Police   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca