What do you do when Sanity gives you the green light but some kind of error still comes up? Keep searching for the part where stuff goes wrong. This might take some time but that's just how it is. Nothing anybody can do about that.

Like said Sanity is not perfect but it does take you a long way (almost to the finish). If this is still about the script in the link you posted then there are some issues with your script.

First thing I see (besides the huge amount of blank lines) is this that there are several variables inside quotes, some even stuck together like this "$command2$command" or "$drive:". Second thins is the Functions. Why do you create all these functions and never call them? Third comment I have is the line where you run keyfinder.exe. There is a hidden share in the line that could give you some trouble. Using double $ sings would solve this but there is also a nice way around this with the NoVarsInStrings option.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.