title: Pre-Populate HTML form file input
body: <p>I have a VBScript that goes over an HTML form, fills it with fixed values and then submit it. It works fine so far, but now i need to set the location of a file that is going to be uploaded within the form data.</p>
  
  <p>I believed if I set the location on the value it was going to work, but it doesn't.</p>
  
  <pre><code> &lt;input type='file' name="file_field" value='file_location'/&gt;
  </code></pre>
  
  <p>Also, I found <a href="http://msdn.microsoft.com/en-us/library/ie/ms535263%28v=vs.85%29.aspx#properties">this</a> while researching. It says... </p>
  
  <p><strong>input type=file</strong>
  <em>Value: Sets or retrieves the displayed value for the control object. This value is returned to the server when the control object is submitted</em>.</p>
  
  <p>Is there a way (by code) to fill that input, even with jQuery?</p>