|
|
|||||||
Here is a subroutine that you can add to your scripts for renaming moving and copying registry keys. I took the basic idea (I think all...) from the enumkeys.kix that comes with kixtart distrubution. You have to place the file tree.kix to the same directory where your login script is. The script come in two parts. The login script with the subroutine and the "tree.kix". Both can be downloaded from : http://users.otenet.gr/~novastar/scripts/mng_key.zip
code: The "tree.kix" code: [This message has been edited by novastar (edited 07 December 2000).] |
||||||||
|
|
|||||||
Great work ! I've seen numerous posts asking if it's possible to "rename" registry keys - at last we can point them to this gem ! Shawn. |
||||||||
|
|
|||||||
I've done some testing with it and I made 1 minor change to Tree.kix, because I could not get it to do what I thought it should do. I've added the following line just before the exit 0 command: code: This clears the variable at the end, which is necessary when you want to want to change multiple registry keys within one script. ------------------ [This message has been edited by TNOTPD (edited 12 December 2000).] |
||||||||
|
|
|||||||
This post was very helpful for migration of user profiles in my environment. I wanted to drop a question into this old post, and see. Would it be possible to convert this thing into a fnRegKeyChange($sourcekey,$destkey,$action) then we could call it just by passing variables? I am so not a coder, but am going to attempt to this coding. any thoughts would be wonderful. |
||||||||
|
|
|||||||
Please DO NOT post to or drag up Ancient/Old posts. Post your own topic and reference this one if needed. Please take a look here for a possible UDF. RegUpdate() - Local/Remote registry datatype update |