Sign in to follow this  
Followers 0
cdexw

How 2 rename

12 posts in this topic

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

Share this post


Link to post
Share on other sites



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 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

#5 ·  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

Share this post


Link to post
Share on other sites

there should be a direct Function() to Rename Registry Enteries/Keys.


_______________________________

Share this post


Link to post
Share on other sites

the 1st given link of Mr.Big Dady doesn't work at all for me give me some other method if available?

Share this post


Link to post
Share on other sites

What link??

All links in this thread are working for me... :)

I am unable to copy registry entries from the given link

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

#12 ·  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

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