How do I know which file is open in Windows from command line?

AMIT

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?

Ruel

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.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How do I hold a file open (locked) from a Windows command-line shell script?

From Dev

How do I open a file with Chrome from the command line?

From Dev

In Virtual Box, how do you know which NIC is which from the linux command line?

From Dev

Open file from the command line on Windows

From Dev

How do I open a WinSCP GUI session from command line?

From Dev

How do I open a WinSCP GUI session from command line?

From Dev

How do I open VM from command line with virsh

From Dev

How do I export the history from the Windows command line to a text file?

From Dev

How do you create an empty file from the command line in Windows

From Dev

How do I search a PDF file from command line?

From Dev

How do I send a file with FileZilla from the command line?

From Dev

How do I run .c file from the command line

From Dev

How do I change file headers from the command line?

From Dev

How do I know which exec command to use for a specific program?

From Dev

How do I search a txt file for names from command line or interactive command line

From Dev

How I can I start a powershell command line from a batch file and enforce it to stay open?

From Dev

How does the xdg-open command know which application to use to open a file?

From Dev

How can I open command line prompt from Sublime in windows7

From Dev

How do I know which File Systems my linux supports?

From Dev

How do I know which file a program is trying to access?

From Dev

How do I know which programs use a particular file?

From Dev

How do I call python program (which has command line arguments) from PHP or Javascript?

From Dev

How can I open a file read-only from command line with emacs/vi/vim

From Dev

Say I have a file's path, how do I reference that file's directory from the command line?

From Dev

How do I open a new command line window from an sh script and then pass in multiple commands

From Dev

How can I get a list of all open windows in the command line?

From Dev

How can I get a list of all open windows in the command line?

From Dev

How do I know which <li> element was clicked from a <ul>?

From Dev

How do I turn a Windows feature on/off from the command line in Windows 10?

Related Related

  1. 1

    How do I hold a file open (locked) from a Windows command-line shell script?

  2. 2

    How do I open a file with Chrome from the command line?

  3. 3

    In Virtual Box, how do you know which NIC is which from the linux command line?

  4. 4

    Open file from the command line on Windows

  5. 5

    How do I open a WinSCP GUI session from command line?

  6. 6

    How do I open a WinSCP GUI session from command line?

  7. 7

    How do I open VM from command line with virsh

  8. 8

    How do I export the history from the Windows command line to a text file?

  9. 9

    How do you create an empty file from the command line in Windows

  10. 10

    How do I search a PDF file from command line?

  11. 11

    How do I send a file with FileZilla from the command line?

  12. 12

    How do I run .c file from the command line

  13. 13

    How do I change file headers from the command line?

  14. 14

    How do I know which exec command to use for a specific program?

  15. 15

    How do I search a txt file for names from command line or interactive command line

  16. 16

    How I can I start a powershell command line from a batch file and enforce it to stay open?

  17. 17

    How does the xdg-open command know which application to use to open a file?

  18. 18

    How can I open command line prompt from Sublime in windows7

  19. 19

    How do I know which File Systems my linux supports?

  20. 20

    How do I know which file a program is trying to access?

  21. 21

    How do I know which programs use a particular file?

  22. 22

    How do I call python program (which has command line arguments) from PHP or Javascript?

  23. 23

    How can I open a file read-only from command line with emacs/vi/vim

  24. 24

    Say I have a file's path, how do I reference that file's directory from the command line?

  25. 25

    How do I open a new command line window from an sh script and then pass in multiple commands

  26. 26

    How can I get a list of all open windows in the command line?

  27. 27

    How can I get a list of all open windows in the command line?

  28. 28

    How do I know which <li> element was clicked from a <ul>?

  29. 29

    How do I turn a Windows feature on/off from the command line in Windows 10?

HotTag

Archive