http://www.roth.net/perl/adminmisc See the functions: GetDrive* But I don't think cylinder/head/sector info will be available from within the OS. J Paul --- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, December 02, 2008 10:52 AM To: perl-win32-users@listserv.ActiveState.com Subject: AdminMisc and hard drive recognition
Hi, list. My PC has two physical hard drives. I'm trying to use Win32::AdminMisc to read the individual sizes and cylinder, sector, and head counts for them. Unfortunately, I can't seem to find info on this module. Is there some way to get code to recognize that there are two physical drives present and report them separately? Is there some way to get actual values for C/H/S? Or am I just wasting your time again? I've got working code that assumes (yes, I know) that a workstation will have only one physical drive and reports the two as being "logical drives" (partitions, I'm guessing?). I'd rather not post it at this time. BUT, I'm not asking you folks to write the code for me, just a pointer in the right direction...that direction being information on Win32_AdminMisc. I've looked on MSDN, but its index goes right from Win32_ActiveRoute to Win32_AllocatedResource, Win32_AdminMisc should be right between them, shouldn't it? Or am I looking up the wrong tree? TIA, Deane Rothenmaier Programmer/Analyst Walgreens Corp. 224-542-5150 The chief cause of problems is solutions. - Eric Sevareid
_______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs