Sign in to follow this  
Followers 0
wes517

Function to force delete a file?

1 post in this topic

We were hit with a flooding virus over the weekend and now are trying to come up with an automated way to clean up the mess. Basically this one once it infects a computer, it puts that computer's profile on any computer that will accept it, flooding the network and hard drives.

So I've whipped out Auto It and have a script written to delete profiles that were created and modified 5 minutes or less apart (90% or so of the virus activity) but we are running into a problem that some of the files say they are locked.

Rebooting the computer frees the files to be deleted like normal, and the computer that originally gave the profiles is no longer infected or active, so there shouldn't still be a connection to the computer.

Does Autoit have a function or UDF that will allow me to take a file out of use and delete it?

anyone have ideas?

Share this post


Link to post
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
Sign in to follow this  
Followers 0