title: How to find browser download folder path
body: <p>I am using WatIn making login to webSite and downloading file.I dont have to much power on download dialog sow when i see download dialog i just press save button and file downloading to defaul folder of broser,AND this is exactly what i need the path to this folder.I know that basicly it <code>C:\Users\UserNAme\Favorites\Downloads</code> but i need to bee 100% sure because user can change this path.</p>
  
  <p>How to find last downloaded file path or the default download folder of broser.</p>
  
  <p>here my code  for download if any one need </p>
  
  <pre><code>Thread.Sleep(10000);
  IntPtr prevChild = FindWindow("IEFrame", "Reports | ACCESS - Internet Explorer");
  Thread.Sleep(3000);
  IntPtr currChild = FindWindowEx(prevChild, 0, "Frame Notification Bar", "");
  Thread.Sleep(3000);
  IntPtr currChild2 = FindWindowEx(currChild, 0, "DirectUIHWND", "");
  Thread.Sleep(3000);
  PostMessage(currChild2, WM_KEYDOWN, VK_F6, 2);
  Thread.Sleep(3000);
  PostMessage(currChild2, WM_KEYDOWN, VK_TAB, 2);
  Thread.Sleep(3000);
  PostMessage(currChild2, WM_KEYDOWN, VK_ENTER, 2);
  </code></pre>