oren Posted May 25, 2011 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.
wakillon Posted May 25, 2011 Posted May 25, 2011 Try ConsoleWrite(@crlf & RegDelete("HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "3")) AutoIt 3.3.18.0 X86 - SciTE 5.5.7 - WIN 11 24H2 X64 - Other Examples Scripts
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