HPSM acessing system variables


I'm trying to have code with diferent behaviour beetween production and development so I want to build it dinamicly based for example in system environment variables.

How can i do that?

I give one example... 

I have a structed in filesystem  that starts with ...\PRD\.... (in production) anda ...\QA\...  (quality)   if I put one environment variable with PRD (in production) ; QA(in quality) i can write the code based on that... and when I do the backup/restore or a copy beetwen system they are allways with the behaviour that I desire.


Best Regards,