﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
1857	DriveGetFileSystem not returning expected result when no media loaded	GEOSoft		"
According to the help file a drive with no media should return the numeric 1 but returns an empty string instead.
{{{
$aDrives = DriveGetDrive(""cdrom"")
If NOT @Error Then
	For $Drive in $aDrives
		If IsNumber($Drive) Then ContinueLoop
		MsgBox(0, ""Result"", StringUpper($Drive) & @CRLF & DriveGetFileSystem($Drive & ""\""))
	Next
EndIf
}}}
Tested on DVD-RW drives if it makes a difference.  The trailing back slash was only added to see if it made any difference.

Also the For/In loop used in this code builds a good case for using all 0 based arrays then we don't have to check the first element for IsNumber() and numeric arrays could be used."	Bug	closed		AutoIt	3.3.6.1	None	Fixed	DriveGetFileSystem, Docs, Return Value	
