×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Getting a directory name from a form

Getting a directory name from a form

Getting a directory name from a form

(OP)
If I use

CODE

<input type=file>
I get an input box with a browse button.  On clicking the browse button, a file dialog comes up and I can choose a file.  I'd like to do the same for a directory but input doesn't have a feature to pick up directories.  Something like

CODE

<input type=dir>
would be nice.  Any idea how I can get around this one?

RE: Getting a directory name from a form

Are you trying to use this to allow the user to specify where to save something?

Where to upload someting?

Something different?

-- Jason
"It's Just Ones and Zeros"

RE: Getting a directory name from a form

(OP)
Both.  It is a directory where the data files live and the directory where I will upload the result files to.  There are too many source files with an equal number of result files so I'd like them to just choose a directory where all the source files live and result files will end up.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close