in reply to Re: Remote PC info
in thread Remote PC info

The oeminfo.ini file looks like this:
[general] Manufacturer = Flybynight Computer Mfg. Model = Rip-U-Off 4000 [support information] Line1 = Support? You want support? Line2 = Don't call us! Line3 = Seriously. Line4 = We mean it!

So you could use something like this:

#!perl use strict; use warnings; use Config::IniFiles; my $cfg = new Config::IniFiles(-file => "c:/windows/system/oeminfo.ini +" ); my $make = $cfg->val('general', 'Manufacturer'); my $model = $cfg->val('general', 'Model'); print "Make: $make\n"; print "Model: $model\n";
And if you have some network shares set up, you can map drives and use those drive letters.