1. A method for accessing resources provided by an operating system, the method comprising the steps of: (a) receiving, by an application program executing inside an environment, a request for a resource; (b) acquiring a first identifier associated with the resource; (c) consulting a registry, responsive to an association between a first identifier associated with the resource and a second identifier associated with the resource, the association associated with the environment; (d) identifying the resource and an environment on which to launch the resource, responsive to consulting the registry; (e) associating the second identifier with the resource, with the environment, and with the environment on which to launch the resource; (f) storing in the registry a registry key for the resource, the registry key comprising the second identifier; (g) redirecting the request for the resource to the identified instance of the resource, responsive to the second identifier; (h) responding to the request for the resource using the instance of the resource located in the environment on which the resource resides; and (i) launching responsive to the second identifier the requested resource in the identified environment.