Jump to content

[UTILITY] How To Replace In Use Files


Denney

Recommended Posts

I don't *think* this has been posted before but I found a nifty little utility from Microsoft called "inuse.exe".

It will replace any files that are currently inuse. I think it only replaces them on next restart though but still, makes things a lot easier.

Syntax is:

inuse.exe SOURCE DESTINATION /y

You can get it http://support.microsoft.com/default.aspx?...kb;EN-US;228930

Link to comment
Share on other sites


Good utility.

By default, it installs to: C:\Program Files\Resource Kit

Since we only need the file "inuse.exe", I put it in C:\Windows\System32, instead.

So, I can use a batch to replace files. This example is mentioned in inuse_d.html:

@echo off

inuse test.dll c:\winnt\system32\test.dll /y

inuse test2.dll c:\winnt\system32\test2.dll /y

inuse test3.dll c:\winnt\system32\test3.dll /y

shutdown /l /r /y

BTW, does it have anything to do with Windows file protection?

Thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...