using System; using System.Collections; class MainClass { public static void Main() { Console.WriteLine(Environment.ExpandEnvironmentVariables( "The Path on %computername% is %Path%")); } }
The Path on JAVA2S is C:\Program Files\Microsoft.NET\SDK\v2.0\Bin; ...