Default Browse Directory File Upload

Posted on 2009-04-30
Last Modified: 2012-06-27
I've got a form like this:

<FORM METHOD="post" id=example ACTION="send.php" ENCTYPE="multipart/form-data">
<INPUT TYPE="file" NAME="Pic1"  ALLOW="text/*" onFocus="doClear(this)" >

I want to choose which directory will be opened when the user clicks "Browse".  I'm not really looking for a solution through any type of coding(although, if that's the route I have to take, then that's ok). I have access to each user's computer, so if there is a way to change this default directory through the registry, that would be perfect.  Is there an easy way to change this default directory?  Thanks for reading
Question by:thedeal56
    LVL 107

    Accepted Solution

    I use Firefox and the default directory is "remembered" by my browser.  I do not think it is in the registry.

    Author Comment

    Ah, that's totally right.  I was thinking that the browser only remembered it until it was closed, but I just checked it, and that's not the case.  I can work with that.  Thanks, Ray.
    LVL 107

    Expert Comment

    by:Ray Paseur
    Tanks for the points - it's a good question, for sure!

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    Part of the Global Positioning System A geocode ( is the major subset of a GPS coordinate (, the other parts being the altitude and t…
    Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
    In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
    HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    25 Experts available now in Live!

    Get 1:1 Help Now