I have the same problem, and I am not using MFC. From several partiotins that I have, the GetVolumeInformation failed 2x. Using the FormatMessage char *errorBuf = 0; if ( FormatMessage( FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, NULL, GetLastError(), //the error message MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), // Default language (LPTSTR) &errorBuf, 0, NULL) ) { MessageBox (NULL, errorBuf, "BuildIndex - Error",MB_OK); LocalFree (errorBuf); } The message box says "The filename, directory name, or volume label syntax is incorrect" But explorer shows the right label for those partitions.:confused: So It must be another way to collect information and getting the right label. ==== EDIT ==== Never mind, I got the answer. I added '\\' to the drive name. The funny thing was, It was successfully without adding the '\\' on some partitions :laugh: