Triton Posted February 2, 2005 Posted February 2, 2005 see partitions as drives or just the physical drives? Triton
Blue_Drache Posted February 2, 2005 Posted February 2, 2005 (edited) see partitions as drives or just the physical drives?<{POST_SNAPBACK}>I'm assuming you have a partitioned driveTry this$drives = DriveGetDrive("ALL") For $x = 1 to $drives[0] step 1 MsgBox(0,"Drive: " & $x, $drive[$x]) Next ExitOr:$var = DriveGetDrive( "all" ) If NOT @error Then MsgBox(4096,"", "Found " & $var[0] & " drives") For $i = 1 to $var[0] MsgBox(4096,"Drive " & $i, $var[$i]) Next EndIf Edited February 2, 2005 by Blue_Drache Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache
Triton Posted February 2, 2005 Author Posted February 2, 2005 I'm using DriveGetDrive("fixed") and wanted to know if it only reports physical hard disks like disk 0 or disk 1 not partitions like c: d: e: and so-on Triton
Blue_Drache Posted February 2, 2005 Posted February 2, 2005 I'm using DriveGetDrive("fixed") and wanted to know if it only reports physical hard disks like disk 0 or disk 1 not partitions like c: d: e: and so-on<{POST_SNAPBACK}>Ok, what I meant to say was, write a test script and take a look at what the values of the variables are. Using my MsgBox loop, it tells you what drive is where in the test loop. If you know you have 2 physical drives, and "fixed" is returning partitions, then yes, it returns partitions too. Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now