Click here to Skip to main content
16,004,587 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
I would like to know if there is any way to select a folder path in HTML, rather that a file path.
so we have
XML
<input type="file" name="BrowseFolder" size=50 onchange="BrowseFolder_OnChange">
</form>


This one selects the file and places the file path in the text box, but i wanted a folder. is there any way this can be done.
Posted
Comments
SkyRunner 16-Jul-12 14:33pm    
In my opinion if you give more details on what do you want to do and the strategy you are seeking you could get a better answer.

1 solution

No. You could, in theory, allow the user to pick a file and then extract the folder from the path.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900