Quote Originally Posted by s_k
Why did it fail for "C:"?
Use GetLastError and the other error information functions to learn mode details about the error. See this FAQ
for details.