Hey i know microsoft is a good resource but im not really trying to do this in visual c, im just doing command prompt windows style. Any links to tutorials or code examples would be great thanks. Also i looking for a registry search function
You don't have to do it in Visual C. Other compilers have windows libraries that support the windows API. However, if you are saying you don't want to use the windows API then, good luck, there's probably not a lot of code from scratch to parse and edit the registry, since the windows API already have functions to do it. (search it too!). I've seen a perl script parser that dumps the contents but not edit. Wosit has a description of the files, so I would guess that'll be a good place to start.
http://www.wotsit.org/list.asp?search=registry&button=GO%21