Get Win32 Environment Variable" Netscape or IE (NT4, Win2000 and XP)

M. Gallant 03/01/2002

The signed applet here retrieves a user specified Win32 environment variable variable by invoking a process via:
 Runtime.getRuntime().exec(command) 
where command is:
 cmd.exe /C set    (NT4, Win2000, XP)
 command.com /C set   (Win95, ME)
and collects the command output results with a BufferedReader().readLine() method.

J/Direct approach for IE only