Guest RobBf Posted May 3, 2005 Share Posted May 3, 2005 How could I do that with autoit ? Link to comment Share on other sites More sharing options...
SvenP Posted May 3, 2005 Share Posted May 3, 2005 How could I do that with autoit ?<{POST_SNAPBACK}>This question has been asked before in this forum. The magic words are "registry" and the AutoIt command "regwrite".However, you can only associate a file extension with a program this way, not a file.This example:Regwrite("HKCR\.au3","","REG_SZ","AutoIt3Script") Regwrite("HKCR\AutoIt3Script\Shell\Open\Command","","REG_SZ",'notepad.exe "%1"')Will associate an OPEN *.AU3 file with Notepad.exe.Regards,-Sven 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