The "UpdateDLL.exe" method described here is along the lines of my suggestion of modifying a path resource within a DLL:
http://stackoverflow.com/questions/842941/programmatically-generate-a-c-win32-dll Of course it occurs that one could always bind perl to a registry key containing the path, but registry dependency is best avoided. -- John.