Mr.Furious Posted April 1, 2005 Posted April 1, 2005 Looking for a way to check if a file type is registered in the windows shell before continuing with the script?
Westi Posted April 2, 2005 Posted April 2, 2005 $ext = "exe" $var = RegRead("HKCR\." & $ext, "") If @error then MsgBox(4096, "Extension:", "not supported") Exit EndIf MsgBox(4096, "Extension:", "registred as " & $var)If (Default) entry is possible empty you can use Holgers searchreg func
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