Jump to content

Recommended Posts

Posted

If I want to do any change in registry on left hand side only by using "Regwrite comand" then how can I do that for example if I want to change only word "COREL| in given screenshot as an example then what is the exect command to do that I can make chanages in value on left side but I am unable to change it in right side

Posted Image

Regwrite("HKEY_LOCAL_MACHINE\SOFTWARE\COREL

for example if I want to change word |COREL" to word "Adob" or any other thing then how can I do that

Posted

My understanding is that you'll have to copy the path with a new name and then delete the old one.

See: http://www.autoitscript.com/forum/index.php?showtopic=35581

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Posted

But if I want to rename like the picture shown below then how I can rename CROWN to any other name as if I delete the key then every thing in that key will be deleted too. I only want to know whether we can rename that function or not??

Posted Image

Posted

Hi.

But if I want to rename like the picture shown below then how I can rename CROWN to any other name as if I delete the key then every thing in that key will be deleted too. I only want to know whether we can rename that function or not??

Posted Image

Interesting question. I've found this one, that might help you:

In an older version of "reg.exe" there is a "/find" parameter that allows for 
a searchstring and replacestring option.

Command-line registry manipulation utility version 1.10.
Copyright Microsoft Corporation 1997.  All rights reserved.

REG FIND HKLM\SOFTWARE SomeString NewString
Recursively searches for and replaces any key or value containing the string
"SomeString" with "New String".

I don't know, where from to get REG.EXE v1.10, may be XP or XP SP1?

Regards, Rudi.

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Posted (edited)

But if I want to rename like the picture shown below then how I can rename CROWN to any other name as if I delete the key then every thing in that key will be deleted too. I only want to know whether we can rename that function or not??

Posted Image

Hi,

just look at the function of the link above by water.

See: http://www.autoitscript.com/forum/index.php?showtopic=35581

This will copy the whole reghive with subkeys to a new regname and delete the old one.

This is not really a rename, but the result is as you wanted.

;--))

Stefan

Edited by 99ojo
Posted

Can you please post the code you are currently using.

Thanks,

Brett

I am unable to post the code because I don't know from where to start that code which just do the above mention thing by me in my initial posts

Posted (edited)

Well if you have no code, then how do you expect it to work?

Its like having an .au3 file with this:

;Comment Line

Does shit all.

Now we've given you the answers. Now its up to you to apply them!

Cheers,

Brett

Edited by BrettF

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
×
×
  • Create New...