I don't know how many times I've searched the web for a win32 version of fuser. It is a great utility used in Unix/Linux for figuring out what process(es) have a file open (among other stuff).

Many would ask, "why not use handle.exe from SysInternals?"

While being a truly excellent utility (as all of SysInternals stuff is), it falls short -- at least for me -- for a couple of reasons:

1) It does filename pattern matching. I need it to do exact file matches with partial input. For example, when I'm in the C:\TMP directory, and I'm checking on a file named 'out.dat', I want it to see if the file C:\TMP\OUT.DAT is being used without having to type the full path in. I think even if you type in the full path for handle.exe, it will still do pattern matching.

2) Handle.exe seems to always exit 0. For scripting purposes, I need it to exit 1 if the file is not being used, but 0 if it is. This is very useful in scripts.

Project Samples

Project Activity

See All Activity >

Categories

Topic

License

Public Domain

Follow fuser

fuser Web Site

You Might Also Like
Achieve perfect load balancing with a flexible Open Source Load Balancer Icon
Achieve perfect load balancing with a flexible Open Source Load Balancer

Take advantage of Open Source Load Balancer to elevate your business security and IT infrastructure with a custom ADC Solution.

Boost application security and continuity with SKUDONET ADC, our Open Source Load Balancer, that maximizes IT infrastructure flexibility. Additionally, save up to $470 K per incident with AI and SKUDONET solutions, further enhancing your organization’s risk management and cost-efficiency strategies.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of fuser!

Additional Project Details

Operating Systems

Windows Server, Windows

Intended Audience

Advanced End Users, System Administrators, Developers

User Interface

Command-line

Programming Language

C

Related Categories

C Topic Software

Registered

2012-11-11