p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

proasp_codeclinic thread: asp folder, file


Message #1 by roshvarughese@y... on Wed, 9 May 2001 18:18:45
    You need to have yourself a look at FileSystemObjects.  In fact I believe
there is actually code to iterate your entire file structure on
msdn.microsoft.com.

Check out the FSO reference:

http://msdn.microsoft.com/scripting/vbscript/doc/jsFSOTutor.htm

- Chuck

----- Original Message -----
From: <roshvarughese@y...>
To: "Code Clinic" <proasp_codeclinic@p...>
Sent: Wednesday, May 09, 2001 6:18 PM
Subject: [proasp_codeclinic] asp folder, file


> Hi
> How will i make the files display under its respective folder. That is if
> there is a folder1 and you have folder1a and folder1b and file1a and
> file1b inside that main folder. How will i make all the folder display
> under the folder1.
> Also once i display that will i be able to dig deeper by diaplaying the
> folders and files inside folder1a and at the same time dispaly all the
> previous folders and files.
> ex..
> folder1
> folder2
> folder3
>
> folder1
>       folder1a
>       folder1b
>       file1a
>       file1b
> folder2
> folder3
>
> folder1
>       folder1a
>               folder1a-1
>               folder1a-b
>               file1a-1
>               file1b-1
>       folder1b
>       file1a
>       file1b
> folder2
> folder3
>
> and so on.. do you by any chance have a code for this.  I cannot figure it
> out how to do this. Can anyone help me out regading this.
>
> Thank you,
> George
>
>

  Return to Index