Quick question (because I don't remember). On Win9x, setting an environment value in a console window causes the environment for everyone to change, right? So you're just refreshing those applications that haven't started yet. For once I wish I had a 95/98/ME system around. In either case, I guess what I'm getting at is that if you want the change to be permanent, say if you wanted to have all of your systems to have their asset tag as an environment variable, for example, you'd also have to edit the autoexec.bat to load it after the next reboot, right? Or is there a better way? I generally consider myself lucky to be able to leave these OS's in the dust at work, but you still never know when you'll need to know this stuff.
-----Original Message----- From: $Bill Luebkert [mailto:dbe@;wgn.net] Sent: Tuesday, October 22, 2002 8:45 PM To: [EMAIL PROTECTED] Subject: Re: Changing Environment variable Timothy Johnson wrote: > Or for a simpler way to do the same thing, get Dave Roth's Win32::AdminMisc > from his PPM repository at http://www.roth.net/perl/packages (If you don't > have it, get it now. It can save you a lot of time.) > > There is a function in there called SetEnvVar() that will do exactly what > you need. I like to stick with solutions that work on 9x also. -- ,-/- __ _ _ $Bill Luebkert ICQ=162126130 (_/ / ) // // DBE Collectibles Mailto:dbe@;todbe.com / ) /--< o // // http://dbecoll.tripod.com/ (Free site for Perl) -/-' /___/_<_</_</_ Castle of Medieval Myth & Magic http://www.todbe.com/ _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs