This topic is a little long but I strongly encourage you to walk through it and master the techniques it illustrates. I can assure you that you'll will use them a couple thousand times in the next couple of years. .Net provides a wonderful class called System.Environment that tells you all about your environment. It is well worth ...