himaro Posted November 4, 2009 Share Posted November 4, 2009 (edited) I have arleady read this article below link. http://www.autoitscript.com/forum/index.php?showtopic=50402 but I still can't understand why I can't del in X64 environment. RegWrite("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Test", "TestKey", "REG_SZ", "Hello this is a test") $result1 = RegDelete("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Test"); MsgBox(0,"test",$result1) RegWrite("HKLM\SOFTWARE\Wow6432nNode\Test", "TestKey", "REG_SZ", "Hello this is a test") $result = RegDelete"HKLM\SOFTWARE\Wow6432Node\Test") MsgBox(0,"test",$result2) It would popout 1, then 2 Both registry write in Vista X64 bit environment, I just can't figure out why I can't del it smoothly Bag somebody's help , please Thank you so much Edited November 4, 2009 by himaro Link to comment Share on other sites More sharing options...
99ojo Posted November 4, 2009 Share Posted November 4, 2009 (edited) I have arleady read this article below link.http://www.autoitscript.com/forum/index.php?showtopic=50402but I still can't understand why I can't del in X64 environment.RegWrite("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Test", "TestKey", "REG_SZ", "Hello this is a test")$result1 = RegDelete("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Test");MsgBox(0,"test",$result1)RegWrite("HKLM\SOFTWARE\Wow6432nNode\Test", "TestKey", "REG_SZ", "Hello this is a test")$result = RegDelete"HKLM\SOFTWARE\Wow6432Node\Test")MsgBox(0,"test",$result2)It would popout 1, then 2Both registry write in Vista X64 bit environment, I just can't figure out why I can't del it smoothlyBag somebody's help , please Thank you so muchHi,see helpfile RegDelete:When running on 64-bit Windows if you want to delete a key or value specific to the 64-bit environment you have to suffix the HK... with 64 i.e. HKLM64.;-))Stefan Edited November 4, 2009 by 99ojo 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