0
kicks
Expanding paths containing Environment variables
Sometimes we may need to expand paths like “%systemroot%\program.exe” etc programmatically. Specially values in the registry are encoded in this format.
The .net framework provides us a straightforward method using which we can easily convert strings containing such special variables into their values.