Mr.Furious Posted April 1, 2005 Share 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? Link to comment Share on other sites More sharing options...
Westi Posted April 2, 2005 Share 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 Link to comment Share on other sites More sharing options...
Mr.Furious Posted April 3, 2005 Author Share Posted April 3, 2005 Thanks so much that works great! 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