Get Win32 Environment Variable: J/Direct Version (IE Only)

M. Gallant 03/01/2002

This signed applet for IE browsers only uses J/Direct to call the Win32 api function:

  DWORD GetEnvironmentVariable(
     LPCTSTR lpName,  // environment variable name
     LPTSTR lpBuffer, // buffer for variable value
     DWORD nSize      // size of buffer
to access environment variables:

Runtime.getRuntime().exec approach for either Netscape of IE browsers