http://supportweb.cs.bham.ac.uk/documentation/tutorials/docsystem/build/tutorials/winenvars/winenvarshome.html