I am working on a script to clear the infamous OKLnn folder but I've run into a little problem. I can pull the path from the registry but when I try to use that variable in the ExecQuery I get an error. Here's the script.
And heres the error. Line: 22 Char: 1 Error: 0x80041002 Code: 80041002 Source: (null)