Help - Search - Members - Calendar
Full Version: Batch or VBS - Get Primary IDE Transfer Mode
MSFN Forums > Coding, Scripting and Servers > Programming (C++, Delphi, VB, etc.)

   
Google Internet Forums Unattended CD/DVD Guide
twig123
Hey all,

Yet another request... (I appreciate all the help).
Is there a way that, through a batch file, I can determine the operating mode of a hard drive?
Device Manager will show me if I go to properties of the IDE Controller, but, how do I gather this info?
twig123
Any help would be much appreciated.
Batch or even VBS that outputs to file would work ok for the application that I need it for.

Thanks in Advance.
ReDucTor
CODE
reg query "HKLM\HARDWARE\DEVICEMAP\Scsi" /s


Its simple registry keys.
twig123
Further inspection points me to this key containing the info that I need:
CODE
HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E96A-E325-11CE-BFC1-08002BE10318}\0001
MasterDeviceTimingMode=
Unfortunatly there is no Table that I have found that will tell me what hex or decimal value = what mode... but I guess I might be able to grab that from trial/error

thanks all
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.