Jump to content
Sign in to follow this  
isolation

regread, regdelete void valuename

Recommended Posts

isolation

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
Jos

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?


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
isolation

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  

×