d6i6a6b6l6o Posted November 3, 2008 Share Posted November 3, 2008 I have a couple of Questions: * I want to search every drive for a file (if it exist), then delete it but the problem is how to make a variable (for all drives, ex: C, D, E ...) * Is there a function that search the registry for a specific name then delete it ? (like find in registry editor) * What is the environment variable for c:\windows ? ( in cmd it is %SYSTEMROOT%) * Is there a function that close every process accessing a specific file? Thanks to any help. Link to comment Share on other sites More sharing options...
Pain Posted November 3, 2008 Share Posted November 3, 2008 (edited) DriveGetDrive()Take a look at the Reg* functions in the helpfile.EnvGet() or use the macro @WindowsDir.Take a look at http://www.autoitscript.com/forum/index.php?showtopic=70538 Edited November 3, 2008 by Pain Link to comment Share on other sites More sharing options...
Bert Posted November 3, 2008 Share Posted November 3, 2008 From your questions, what did you have in mind? Serious question.... The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
d6i6a6b6l6o Posted November 4, 2008 Author Share Posted November 4, 2008 I am making a script to remove a specific virus. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now