Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

input type=file for directories 1

Status
Not open for further replies.

xwb

Programmer
Jul 11, 2002
6,828
GB
<input type="file"> will only stop when a file is chosen. How do I get it to select a directory? I know there isn't an <input type="dir">. Just wondering if there is an undocumented attribute for just getting dirs.

I'll be working in vbscript and on IE only so there is no need to worry about cross browser compatibility.
 
Not really possible to upload directories, but if you Google upload multiple files, you will see some alternatives.
 
It is not for uploading. It is really for an hta but I didn't know whether to put the query under vbscript, html or asp since htas are a breed of their own.

What I want to do is to have some directory navigation button where the user can choose a directory.
 
Brill - just what I was looking for.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top