How to get windows environment variabe in the C# code.
- I have a windows startup script to set the environment variables.
- I need to pass this variable to C# code..something like %var%
e.g. in the C# file, replace D:\ with %var%. The value of var is stored as an environment variable in windows.
Thanks
 
     
     
     
    