Results 1 to 5 of 5

Thread: list dir

  1. #1
    chenko
    Guest

    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?

  2. #2
    Fanatic Member punkpie_uk's Avatar
    Join Date
    Sep 2001
    Location
    UK
    Posts
    645
    VBScript has the FileSystemObject but this is only supported by server-side ASP.
    SPREAD THE WORD!!! Are You Lee McCormick? Because I Am



    Lee M McCormick
    [email protected]

    Lee McCormick.com - Live
    Dynamically Webbed.com - In development but live

  3. #3
    Si_the_geek
    Guest
    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>

  4. #4
    chenko
    Guest
    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

  5. #5
    chenko
    Guest
    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
  •  



Click Here to Expand Forum to Full Width