Commands to create script to automatically edit registry

  • Thread starter Thread starter Yellowworld
  • Start date Start date
Y

Yellowworld

Hello, I recently used Partition Magic to merge two partitions of mine
and the Drivemapper function screwed me up big time. Now I have a ton
of registry references that read:

C:\PROGRAM FILES\PROGRAM FILES

when they should just read:

J:\PROGRAM FILES\


There are probably hundreds if not thousands of references to update.
Anyone know of a script or the commands to create a script that can
handle this? Basically I need the script to search for any references
to C:\PROGRAM FILES\PROGRAM FILES and change them to J:\PROGRAM FILES\

Thanks a bunch in advance!
 
just a thought - use regedit to export the affected part ( or all )
of the registry and then use a text editor to search & replace
what you want then import it back into the registry
- caution before you do anything
back it up & create a system restore point and pray
good luck

Alasdair

please note email address requires editing

www.digitalmystic.co.uk
 
Back
Top