in reply to Re^2: Win32::API giving a program error
in thread Win32::API giving a program error
Of course if you are looking to do more with the Win32:API then this doesn't really help you. :-)use Win32::OLE; $file = "M:\\poledit.exe"; $fso = Win32::OLE->new('Scripting.FileSystemObject') or die "Cannot op +en File System Object"; $companyname = $fso->GetFileName ($file); $version = $fso->GetFileVersion ($file); print $companyname, "\t", $version;
|
|---|