how do u browse the drive using file type button

My requirement is to give user facility to browse through
all the drives in his hard disc and select a drive. Im trying to using <input type=file>, but the user has to select a file instead of the drive..Please suggest..
sureshrao72Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
lexxwernConnect With a Mentor Commented:
why dont you ask him to use windows explorer or its kins?

btw,

<select name="hdd">
<option value="a">A Drive</option>
<option value="b">B Drive</option>
<option value="c">C Drive</option>
<option value="d">D Drive</option>
<option value="e">E Drive</option>
<option value="f">F Drive</option>
<option value="g">G Drive</option>
</select>

hmm, i dont think anyone will have anymore partitions.
0
 
brunoCommented:
depends on mapped drives as well.....i used to have quite a lot of drives, and there is no promise what people will have them named...
0
 
lexxwernCommented:
then let the select go all the way till Z. btw suresh there is no direct way of getting all the drives. you'll have to use something like what i just proposed.
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
lexxwernCommented:
btw. 2 old unlocked questions, not the best grading history, it seems you dont respect the experts here volunteering to help you.

if thats not the case then please close the old Qs and to know more about grading here at Experts Exchange visit this TA, http://www.experts-exchange.com/new_users/
0
 
brunoCommented:
lexx, only problem will be there is no way to make sure that the user actually chose a valid drive letter.
0
 
brunoCommented:
wow, horrible grading history.  

please select one of lexx's comments, not mine.  ;-)
0
 
lexxwernCommented:
:-)

>> lexx, only problem will be there is no way to make sure that the user actually chose a valid drive letter.

true, but there's not much we can do..
0
 
COBOLdinosaurCommented:
Wow!  An unvalued Q;  They will not like the correct answer; and a grading history that would make a maggot gag...  Guaranteed bad grade?  Pass

Cd&
0
 
sureshrao72Author Commented:
I dont want to hardcode these values, it has to be automatic, 'cos my users are gonna browse from even a laptop, the problem is my boss wants a "browse" button facility instead of drop down boxes..

I really dont know to give the proper grade, what u guys are talking about Poor grades..please advice
0
 
COBOLdinosaurCommented:
Based on your grading history.  You do not feel you have ever received a satisfactory answer

3 C grades, which most expert sonsider insulting and  4 B grades

Your pattern is to post under valued questions, and then give poor grades.  

Another example of the same thing is here:

http://www.experts-exchange.com/asp/Q_20277540.html

Open since the middle of March, it has now been abandoned because you cannot do what you want to do.

Why should any expert give you their time when to show nothing but disrespect and a lack of appreciation for their efforts.  I would say you are now at the point where experts will avoid responding to your question, as you seem to place such a low value on their time and efforts.

I recommend that you look at this thread which was posted by one of the admins ComTech to address the question of proper grading practices:

http://www.experts-exchange.com/new_users/Q_20310437.html

Cd&
0
 
lexxwernCommented:
it usually takes a bit of time to get used to this site. and since you are relatively new here you can still set things right here.

good luck!
0
 
brunoCommented:
found a script on this page, about halfway down, not sure if this could be used somehow to find the mapped drives...

http://www.annoyances.org/exec/show/wsh
0
 
COBOLdinosaurCommented:
This question has been abandoned. I will make a recommendation to the
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.
<note>
   In the absence of responses, I may recommend DELETE unless it is clear
   to me that it has value as a PAQ.  Silence = you don't care
</note>

Cd&

0
 
brunoCommented:
I believe my last comment might be the most useful for what the user was looking for...
0
 
COBOLdinosaurCommented:
It is time to clean this abandoned question up.  

I am putting it on a clean up list for CS.

<recommendation>
split lexxwern and brunobear

</recommendation>

If anyone participating in the Q disagrees with the recommendation,
please leave a comment for the mods.

Cd&
0
 
lexxwernCommented:
agree
0
 
NetminderCommented:
Per recommendation, force-accepted.

Netminder
CS Moderator

brunobear: http://www.experts-exchange.com/Web/Web_Languages/HTML/Q_20394770.html
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.