[nflug] lsof equivalent in Windows?

joshj at linuxmail.org joshj at linuxmail.org
Tue Jan 23 16:09:30 EST 2007


Thus spake K Olkowski:

> Folks:
>
> Is there any DOS command that is equivalent to lsof, or is there some other 
> way to do this in Windows?

I believe the command you are looking for is "FORMAT C:".

Actually, I really don't know. But Process Explorer looks promising:

http://www.microsoft.com/technet/sysinternals/utilities/ProcessExplorer.mspx

>
> Here's why I ask: someone at work attempted to unmount their thumb drive, and 
> got a message similar to "generic volume cannot be unmounted at this time. . 
> . ."  I looked at open processes and nothing seemed to be open that would 
> have a file on the thumb drive open.  If it were my thumb drive, then I'd 
> just yank it out anyway, but I tend to have more respect for others' things. 
> I resolved this by rebooting the machine. I figured that knowing which files 
> on the thumb drive, if any, were open MAY give a clue as to which program or 
> process has it open. Additionally, I know that there may be other reasons why 
> Windows hijacks drives.
> _______________________________________________
> nflug mailing list
> nflug at nflug.org
> http://www.nflug.org/mailman/listinfo/nflug
>
_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug



More information about the nflug mailing list