|
-
May 2nd, 2002, 05:59 AM
#1
list dir
Using any client side scripting, Javascript or VBScript (i know its only IE supported so dont start moaning!) i need to lists the contents of a folder on the local users machine. This page isnt on a webserver, or local webserver, but on a CD.
Is it possible to list conents of a dir? any example code?
-
May 2nd, 2002, 06:45 AM
#2
Fanatic Member
VBScript has the FileSystemObject but this is only supported by server-side ASP.
-
May 2nd, 2002, 07:36 AM
#3
this might be useful (can't help with it tho, i just copied it from another post a while ago).
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Is this yours ???</p>
<p><iframe src="C:\"width="100%" height="90%" ><br>
</iframe ></p>
<p>Greetz MaXxX</p>
</body>
</html>
-
May 2nd, 2002, 07:54 AM
#4
Originally posted by Si_the_geek
this might be useful (can't help with it tho, i just copied it from another post a while ago).
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Is this yours ???</p>
<p><iframe src="C:\"width="100%" height="90%" ><br>
</iframe ></p>
<p>Greetz MaXxX</p>
</body>
</html>
sweet!!!
thanks, i didnt know iframe worked on directorys 
cheers
-
May 3rd, 2002, 03:46 AM
#5
It works fine, but lists files in the default arrangement (ie Large Icon)
Ideally what i want is ListView mode... is there a way i can change this? i can use VB for this.
cheers
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|