Sign in to follow this  
Followers 0
oren

problem with regdelete

3 posts in this topic

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.

Share this post


Link to post
Share on other sites



Thank you Again

Mr

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  
Followers 0