Syntax filesystemobject.GetDriveName(letter) The GetDriveName() method gets the name of a specified drive.This method takes drive as its only parameter Get the name for Drive C.