add class Path

driveName >= 'a' && driveName <= 'z' || driveName >= 'A' && driveName <= 'Z';

Add () into this line to make it easier to understand.