oren Posted May 25, 2011 Share Posted May 25, 2011 Hello , I am playing with regwrite and regdelete, and I got to a very wired problem.. Its seems that there is something wrong with regdelete when I sue this script ConsoleWrite(@crlf & RegWrite("HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", 3, "REG_SZ", @scriptdir & "\2.exe")) ConsoleWrite(@crlf & RegDelete("HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\3")) ConsoleWrite(@CRLf & @error) I get in the console 1 0 0 What means that the registry is written good (1) and then when it try to delete the registry it say it does not exist... But as you can see I write it just before Maybe I write it wrong? THnak you. Link to comment Share on other sites More sharing options...
wakillon Posted May 25, 2011 Share Posted May 25, 2011 Try ConsoleWrite(@crlf & RegDelete("HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "3")) AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
oren Posted May 25, 2011 Author Share Posted May 25, 2011 Thank you Again Mr 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