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

Link to My Computer....

Status
Not open for further replies.

codeone

Programmer
Mar 25, 2003
343
US
Hi,

OK, I'm not talking about some hacker sneaking into my system using a back door trojan, or anything malicious. What I want to do is simply link an Iframe to the My computer directory, something like:
==========================================
Code:
<Iframe src=&quot;My Computer&quot; width=420 height=420></iframe>
==========================================
of course the above wont work, so I'm asking you what is the actual address to the my computer directory?

Any help is greatly appreciated,

Code One
 
this cannot be achieved. this is as u said for security...

Known is handfull, Unknown is worldfull
 
No, you can't do that like that. You can, however, link to an individual drive, like this:

<IFRAME NAME=&quot;ADrive&quot; SRC=&quot;A:\&quot; WIDTH=&quot;50%&quot; HEIGHT=&quot;20%&quot;></IFRAME>
<IFRAME NAME=&quot;CDrive&quot; SRC=&quot;C:\&quot; WIDTH=&quot;50%&quot; HEIGHT=&quot;20%&quot;></IFRAME>
<IFRAME NAME=&quot;DDrive&quot; SRC=&quot;D:\&quot; WIDTH=&quot;50%&quot; HEIGHT=&quot;20%&quot;></IFRAME>
<IFRAME NAME=&quot;EDrive&quot; SRC=&quot;E:\&quot; WIDTH=&quot;50%&quot; HEIGHT=&quot;20%&quot;></IFRAME>

You could also try using this solution:
thread215-586215

Rick

-----------------------------------------------------------
RISTMO is back! Sorry I've been away for so long--it's been a busy year ;-)
RISTMO Designs
Arab Church
 
Well, this security thing is one big pain in my... well you know were. I keep running into ALL of them like, you can't auto turn off a window without the dumb question, though there is still ways with IE, & you can't link straight to the My Computer directory, etc, etc, etc. I know all this is for my own good, but as a innovative developer it is hard to stay within the lines. Despite the disapointment I really appreciate all the info as swift and as informative as it always is.

till my next question,

Code One
 
Codeone,

Do you perhaps mean something like this which would give you a directory listing:

<input type=&quot;file&quot; size=&quot;60&quot; />

Clive
 
You could point to a directory on your computer but not 'My computer' as this is not actually a physical drive. You can share drives like your c drive. I do this with IIS and folder sharing.
 
my friends,

actually ristmo pointed me to a VBscript which is close to what I was looking to implement, though to display it in an iframe is something I believe is done only in C++, so I decided to reference the C:drive instead.

Thanks the same,

Code One
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top