I would like to know which file is open in Windows from command line. In linux we have command lsof for that purpose. Is there any command in Windows like that?
12 Answers
Are you referring to current running processes? That would be: tasklist
If you want to view running processes of the current user:
tasklist /FI "username eq user"
Change user and put the current username.
If you want a command line tool, the Handle utility from SysInternals does this. For a GUI tool, check out Process Monitor.
6