Javascript - getting path of file dropped into HTA
问题 I am building a little HTA for personal use, and would like to be able to drag and drop a file to the interface. Once the file is dropped, I would either automatically run it (assuming it fits some parameters I set, like file extension), or at least fill in the input box on the HTA interface. I've searched extensively, but can't find a solution. Thoughts? 回答1: An HTA obviously cannot be target of a shell drop operation – at least on my system, dropping something on an HTA is impossible. This