I am new to VB. I am building a utility that needs to grab a current environment variable (ie "CLIENTNAME"), manipulate that string and return a value back to "CLIENTNAME".

I need a good resource or a code snippit that will interact with DOS Environment variables (NT OS specifically).

Could it be as easy as utilizing %Clientname% within VB?