title: Opening a handle to flash drive gives me an "Access Denied" error code
body: <p>I would like to know why when I try to create a handle to a USB flash drive, I receive a path not found error.</p>
  
  <pre><code>HANDLE aFile = CreateFile(_T("\\\\.\\F:\\"), GENERIC_READ, 0, NULL,
          OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
  
      if (aFile == INVALID_HANDLE_VALUE)
      {
          printf("\n");
          printf("Bad handle value. Error %d \n", GetLastError());
      }
  </code></pre>
  
  <p>From there I want to read a stream of 512 bytes (the boot sector) to a .bin file, but I can't seem to get past the handle creation first. Does Windows prevent applications from opening a handle to removable drives?</p>