public static List<String> getDrivesOnWindows() throws Throwable {
		loadWindowsDriveInfoLib();
		
		List<String> drives = new ArrayList<String>();
		
		WindowsDriveInfo info = new WindowsDriveInfo();
		for (String drive : info.getLogicalDrives()) {
			if (info.isFixedDisk(drive)) drives.add(drive);
		}
		
		return drives;
	}
public static List < String > getDrivesOnWindows ( ) throws Throwable { loadWindowsDriveInfoLib ( ) ; List < String > drives = new ArrayList < String > ( ) ; WindowsDriveInfo info = new WindowsDriveInfo ( ) ; for ( String drive : info . getLogicalDrives ( ) ) { if ( info . isFixedDisk ( drive ) ) drives . add ( drive ) ; } return drives ; }
Returns all drive letters on windows that represent fixed disks.

Floppy drives, optical drives, USB sticks, and network drives should all be excluded.

@return A List of drive letters, such as ["C", "D", "X"].