Expanding paths containing Environment variables(nirandas.com)
submitted by
redcap(420) 3 years, 4 months ago
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.
|category: Tips & Tricks
|Views: 35
tags:
System.Environment Tips another
Everyones tags:
Your Tags: