Returns drive type.
DriveGetType ( "path" )
| path | Path of drive to receive information from. |
| Success: | Returns the type of drive: "Unknown", "Removable", "Fixed", "Network", "CDROM", "RAMDisk" |
| Failure: | Returns "" and sets @error to 1. |
Local $sType = DriveGetType(@HomeDrive & "\") ; Find the status of the home drive, generally this is the C:\ drive.
MsgBox(4096, "Drive Type:", $sType)