Jump to content
Sign in to follow this  

problem with regdelete

Recommended Posts


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




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.

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.