Stupid Windows Tricks

Here are some CMD tools you probably didn’t think existed:

  • findstr - Like Unix grep
  • tasklist - Like Unix ps
  • taskkill - Like Unix kill

These come for free with recent versions of Windows. You might be wondering why Microsoft chose these names instead of their well-known, pre-existing Unix equivalents? I don’t know for sure, but I suspect this has something to do with it.

Anyway, here’s a nice trick:


C:\>tasklist /m msvcrt.dll

Image Name                     PID Modules
========================= ======== ===============
OUTLOOK.EXE                   3576 MSVCRT.dll
cmd.exe                       2616 msvcrt.dll
vim.exe                       3816 msvcrt.dll
iTunes.exe                    3776 msvcrt.dll
firefox.exe                   2912 msvcrt.dll

Whip that one out next time you can’t delete a directory because some DLL is in-use.

3 Responses to “Stupid Windows Tricks”


  1. 1 Charles H. Grier

    how do I get rid of msvcrt.exe

  2. 2 Mark

    I don’t know what msvcrt.EXE is, but msvcrt.DLL is the Microsoft Visual C Runtime. It’s required for programs that were built using Microsoft Visual C/C . You should probably keep it.

  3. 3 Alex

    msvcrt.EXE is a file created by W32/Tilebot-Q Trojan. See http://www.bleepingcomputer.com/startups/Ampi32-12387.html.

Leave a Reply




Creative Commons Attribution-NonCommercial 3.0 United States
Creative Commons Attribution-NonCommercial 3.0 United States