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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

browse button to pop up a filesystem on the desktop

Status
Not open for further replies.

kavi98

Programmer
Dec 14, 2000
48
US
I am trying to generate a browse button on a form which pops up the filesystem of the current desktop.


Thanks
Kavisha.
 
you may also be talking about <input type=&quot;file&quot;> jared@aauser.com
 
umm, maybe you want <input type=&quot;file&quot;> otherwise, you won't be able to get the current desktop of the clients machine.
 
That's not true. You can access the filesystem easily. Or rather, you can display the filesystem easily, but not manipulate it or send data back to the server.

I think you want something like this:

function open_explorer()
{
expwin = window.open(&quot;file://c:\&quot;,&quot;explore&quot;,&quot;width=500,height=500&quot;);
}

<input type=&quot;button&quot; onClick=&quot;open_explorer()&quot;>

Of course that won't work if you're on a Mac or Linux or some other OS without a C:\ drive and filesystem functions integrated into the web browser.
Sincerely,

Tom Anderson
CEO, Order amid Chaos, Inc.
 
Yeah, didn't think he meant that, because he couldn't do anything with it :) jared@aauser.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top