I am using the System Exec.vi in win2000 for similar purposes. Make the command line "C:\winnt\system32\cmd.exe" (without the quotes), and then pass "set\n" (line feed at the end, no quotes) as the standard input to this command. It will return the environment variables in standard output, which you can then parse.
Hope this helps. Good luck.