http://qs321.pair.com?node_id=175538


in reply to Master of your Environment (NT)

Win32::AdminMisc Works great for this too. And it is very easy to do:
#!/usr/bin/perl -w use strict ; use Win32; use Win32::AdminMisc; Win32::AdminMisc::SetEnvVar( "UUID", "TEST-TEST", ENV_SYSTEM ) ; Win32::AdminMisc::SetEnvVar( "UUID", "TEST-TEST", ENV_USER ) ;


"Nothing is sure but death and taxes" I say combine the two and its death to all taxes!