0

Is there a way to get the full file path of an input file element in an HTA.

this question has been asked many times before like Get full path image into input file

But that answer brings up this broken message...

Error

when used like this:

 excelWorkbook = excel.WorkBooks.open(window.URL.createObjectURL(document.getElementById("myfile").files[0]));

The following said that it was impossible, however they where not working in an hta:How to get full path of selected file on change of <input type=‘file’> using javascript, jquery-ajax? and FileUploder get file full path using jquery

So here is the final question:

Is there a way to get the file path(or the file path local to where the file explorer starts) in an HTA using JavaScript with an meta tag of:

<meta http-equiv="x-ua-compatible" content="ie=edge" />
SuperTeddy
  • 23
  • 8

0 Answers0