Sign in to follow this  
Followers 0
isolation

regread, regdelete void valuename

3 posts in this topic

#1 ·  Posted (edited)

Hi,

I want to delete a "main key" in the registry, so I tried to use

RegDelete ( "HKLM\SOFTWARE\aaaa") but it didn't work.... returns=0

I looked in the "Autoit help"

RegDelete ("HKLM\SOFTWARE\aaaa","") .............but it didn't work.... returns=0

and

RegRead("HKLM\SOFTWARE\aaaa","") didn' work, too. error = -1

Edited by isolation

Share this post


Link to post
Share on other sites



RegDelete ( "HKLM\SOFTWARE\aaaa") but it didn't work.... returns=0

Works fine here.

You are sure you have the rights to do this?

What is the returncode and @error returned?


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

oh sorry

I've done a mistake

I intended to use this func

Func _Rd($main,$val)

return String(RegDelete($main,$val))

Endfunc

RegDelete ( "HKLM\SOFTWARE\aaaa") seems to work

but when $val="" doesn't work

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