Reference: extractFileDrive
extractFileDrive(s), where s is a string representing a file name, returns the drive of the file name. For example, extractFileDrive("C:\WINDOWS\notepad.exe") returns "C:".
extractFileDrive(s), where s is a string representing a file name, returns the drive of the file name. For example, extractFileDrive("C:\WINDOWS\notepad.exe") returns "C:".