PDA

View Full Version : open explorer by clicking


mONe
05-21-2003, 01:48 PM
hi there,

if i click on a link then the explorerwindow should open....

is that possible....and how can i realise that......???

mONe

Nightfire
05-21-2003, 02:04 PM
<a href="yourpage.html" target="_new">Open new window</a>

Replace the red with the page you want to show

that is if I've understood your question right...

mONe
05-21-2003, 02:11 PM
no not really,

this function i know.....

i want to open the windows-explorer(u can see all directories....)
you can also start it when u press windowsbutton and E at the same time......

at the moment i open a new window and i can see all my files from the server but the design is stupid....i want the stile i have in the windows-explorer......

u understand, what i mean???

mONe

brothercake
05-21-2003, 02:50 PM
you want to open windows explorer with a view of your server directory ....

It's not possible. If you want that, you will have to write your own GUI to present the directories.

mONe
05-21-2003, 03:04 PM
thats not so good.....

i 've heard, that it is possible with DHTML,JavaScript, but nobody can tell me the syntax......

but thanx for your help.......

mone

meow
05-21-2003, 10:39 PM
Windows explorer = Internet Explorer. I'm not sure I remember the syntax but let's try.

<a href="file:///c:">Hard disk</a>



Hard Disk (file:///c:)

oracleguy
05-22-2003, 02:38 AM
But that will be the local hard disk of the client. Not the server.

Alternativly if you had a group of files in a folder you could turn on directory browsing for that folder and then when someone went to the page it would automatically list all the files in that directory.

mONe
05-22-2003, 08:59 AM
that funktion , that i can display all folders from the server on my screen is running......that is not my problem.....

i want to display the explorerview.... i will attach a pic.....i want this view in my mainpage.......

it must be possible by Scripting....but i don't know how to do scripting.....

mONe

mONe
05-22-2003, 09:56 AM
<script>
function explorer(pDir)
{
var ws = new ActiveXObject("WScript.Shell");
ws.Run("explorer " + pDir);
}
</script>

<a href="javascript:explorer('\\\\Verzeichnis\\Verzeichnis');">explorer</a>


this is the solution for my problem....and now i see that this is not a good thing....i get 2 securitymessages.....

thanx for all, who tried to helf me......