title: how to convert WIN32_FIND_DATA to string?
body: <p>im using WIN32_FIND_DATA to store the data findfirstfile outputs. i want the file location (C:\file) as a string but i don't know how to get it or any other data from it.</p>
  
  <p>Edit: here is my code</p>
  
  <pre><code>PTSTR pszFileName; 
  PTSTR pszFileName2[100];
  if (search_handle) 
  { 
      do 
      {
          pszFileName = file.cFileName;
          pszFileName2[loop] = pszFileName;
          Sleep(100);
          loop++;
  
          std::wcout &lt;&lt; file.cFileName &lt;&lt; std::endl;
      }
      while(FindNextFile(search_handle,&amp;file)); 
  
      CloseHandle(search_handle); 
  }
  </code></pre>