Winapp2 Registry Variables?

If the file path is stored in the registry how do I look up that variable and then code it into winapp2.ini to handle different areas a user might have preferred to put crap to be cleaned in an app?

e.g. HLM Software Fraps2 there is a string with a path in it I want to specify in winapp2.ini

Dont tell me this isnt supported

And how do I delete subdirectories, not just files recursively?