|
 |
asp_web_howto thread: count number of files using vb script
Message #1 by "Ash" <ashrock11@y...> on Fri, 12 Jul 2002 22:26:19
|
|
Hi,
Please tell me the how to do the following using vb script:
to count the number of files in folders(including subfolders) in D drive
of the computer. my program is not giving me the correct result. urgent
help requested.
Thanks
Ash
Message #2 by "Larry Woods" <larry@l...> on Fri, 12 Jul 2002 15:02:21 -0700
|
|
Don't know what program you are using! If you aren't using File
System Objects, take a look at them. You can use the various
methods to count files.
Larry Woods - MCSD, MCT
> -----Original Message-----
> From: Ash [mailto:ashrock11@y...]
> Sent: Friday, July 12, 2002 10:26 PM
> To: ASP Web HowTo
> Subject: [asp_web_howto] count number of files using vb script
>
>
> Hi,
>
> Please tell me the how to do the following using vb script:
>
> to count the number of files in folders(including
> subfolders) in D drive
> of the computer. my program is not giving me the
> correct result. urgent
> help requested.
>
> Thanks
>
> Ash
>
> ---
>
> Improve your web design skills with these new books
> from Glasshaus.
>
> Usable Web Menus
> http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=n
osim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/thepr
ogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/thepr
ogramme
r-20
Message #3 by Ash Bee <ashrock11@y...> on Fri, 12 Jul 2002 17:29:55 -0700 (PDT)
|
|
i am using file system object...but not getting the
result...
do you know how do get inside the subfolders and count
the file...
we dont know how many folders and subfolders are
there..
can we use loops and counter to do this??
thanx
ash
--- Larry Woods <larry@l...> wrote:
> Don't know what program you are using! If you
> aren't using File
> System Objects, take a look at them. You can use
> the various
> methods to count files.
>
> Larry Woods - MCSD, MCT
>
> > -----Original Message-----
> > From: Ash [mailto:ashrock11@y...]
> > Sent: Friday, July 12, 2002 10:26 PM
> > To: ASP Web HowTo
> > Subject: [asp_web_howto] count number of files
> using vb script
> >
> >
> > Hi,
> >
> > Please tell me the how to do the following using
> vb script:
> >
> > to count the number of files in folders(including
> > subfolders) in D drive
> > of the computer. my program is not giving me the
> > correct result. urgent
> > help requested.
> >
> > Thanks
> >
> > Ash
> >
> > ---
> >
> > Improve your web design skills with these new
> books
> > from Glasshaus.
> >
> > Usable Web Menus
> >
>
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=n
> osim/theprogramme
> r-20
> Constructing Accessible Web Sites
>
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/thepr
> ogramme
> r-20
> Practical JavaScript for the Usable Web
>
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/thepr
> ogramme
> r-20
>
>
>
> ---
>
> Improve your web design skills with these new books
> from Glasshaus.
>
> Usable Web Menus
>
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
> r-20
> Constructing Accessible Web Sites
>
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
> r-20
> Practical JavaScript for the Usable Web
>
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
> r-20
__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
Message #4 by "Larry Woods" <larry@l...> on Fri, 12 Jul 2002 20:40:46 -0700
|
|
Look at the Folder object of the FSO. There is a SubFolder
collection. You will have to recurse through the subfolders of
each folder, etc.
Larry Woods - MCSD, MCT
> -----Original Message-----
> From: Ash Bee [mailto:ashrock11@y...]
> Sent: Friday, July 12, 2002 5:30 PM
> To: ASP Web HowTo
> Subject: [asp_web_howto] RE: count number of files
> using vb script
>
>
> i am using file system object...but not getting the
> result...
> do you know how do get inside the subfolders and count
> the file...
> we dont know how many folders and subfolders are
> there..
> can we use loops and counter to do this??
>
> thanx
>
> ash
>
> --- Larry Woods <larry@l...> wrote:
> > Don't know what program you are using! If you
> > aren't using File
> > System Objects, take a look at them. You can use
> > the various
> > methods to count files.
> >
> > Larry Woods - MCSD, MCT
> >
> > > -----Original Message-----
> > > From: Ash [mailto:ashrock11@y...]
> > > Sent: Friday, July 12, 2002 10:26 PM
> > > To: ASP Web HowTo
> > > Subject: [asp_web_howto] count number of files
> > using vb script
> > >
> > >
> > > Hi,
> > >
> > > Please tell me the how to do the following using
> > vb script:
> > >
> > > to count the number of files in folders(including
> > > subfolders) in D drive
> > > of the computer. my program is not giving me the
> > > correct result. urgent
> > > help requested.
> > >
> > > Thanks
> > >
> > > Ash
> > >
> > > ---
> > >
> > > Improve your web design skills with these new
> > books
> > > from Glasshaus.
> > >
> > > Usable Web Menus
> > >
> >
> http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=n
> > osim/theprogramme
> > r-20
> > Constructing Accessible Web Sites
> >
> http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=n
> osim/thepr
> > ogramme
> > r-20
> > Practical JavaScript for the Usable Web
> >
> http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=n
osim/thepr
> ogramme
> r-20
>
>
>
> ---
>
> Improve your web design skills with these new books
> from Glasshaus.
>
> Usable Web Menus
>
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/thepr
ogramme
> r-20
> Constructing Accessible Web Sites
>
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/thepr
ogramme
> r-20
> Practical JavaScript for the Usable Web
>
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/thepr
ogramme
> r-20
__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
---
Improve your web design skills with these new books from
Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/thepr
ogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/thepr
ogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/thepr
ogramme
r-20
Message #5 by Ash Bee <ashrock11@y...> on Sat, 13 Jul 2002 10:24:25 -0700 (PDT)
|
|
thanx...will try to do that..
--- Larry Woods <larry@l...> wrote:
> Look at the Folder object of the FSO. There is a
> SubFolder
> collection. You will have to recurse through the
> subfolders of
> each folder, etc.
>
> Larry Woods - MCSD, MCT
>
> > -----Original Message-----
> > From: Ash Bee [mailto:ashrock11@y...]
> > Sent: Friday, July 12, 2002 5:30 PM
> > To: ASP Web HowTo
> > Subject: [asp_web_howto] RE: count number of files
> > using vb script
> >
> >
> > i am using file system object...but not getting
> the
> > result...
> > do you know how do get inside the subfolders and
> count
> > the file...
> > we dont know how many folders and subfolders are
> > there..
> > can we use loops and counter to do this??
> >
> > thanx
> >
> > ash
> >
> > --- Larry Woods <larry@l...> wrote:
> > > Don't know what program you are using! If you
> > > aren't using File
> > > System Objects, take a look at them. You can
> use
> > > the various
> > > methods to count files.
> > >
> > > Larry Woods - MCSD, MCT
> > >
> > > > -----Original Message-----
> > > > From: Ash [mailto:ashrock11@y...]
> > > > Sent: Friday, July 12, 2002 10:26 PM
> > > > To: ASP Web HowTo
> > > > Subject: [asp_web_howto] count number of files
> > > using vb script
> > > >
> > > >
> > > > Hi,
> > > >
> > > > Please tell me the how to do the following
> using
> > > vb script:
> > > >
> > > > to count the number of files in
> folders(including
> > > > subfolders) in D drive
> > > > of the computer. my program is not giving me
> the
> > > > correct result. urgent
> > > > help requested.
> > > >
> > > > Thanks
> > > >
> > > > Ash
> > > >
> > > > ---
> > > >
> > > > Improve your web design skills with these new
> > > books
> > > > from Glasshaus.
> > > >
> > > > Usable Web Menus
> > > >
> > >
> >
>
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=n
> > > osim/theprogramme
> > > r-20
> > > Constructing Accessible Web Sites
> > >
> >
>
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=n
> > osim/thepr
> > > ogramme
> > > r-20
> > > Practical JavaScript for the Usable Web
> > >
> >
>
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=n
> osim/thepr
> > ogramme
> > r-20
> >
> >
> >
> > ---
> >
> > Improve your web design skills with these new
> books
> > from Glasshaus.
> >
> > Usable Web Menus
> >
>
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/thepr
> ogramme
> > r-20
> > Constructing Accessible Web Sites
> >
>
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/thepr
> ogramme
> > r-20
> > Practical JavaScript for the Usable Web
> >
>
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/thepr
> ogramme
> > r-20
>
>
> __________________________________________________
> Do You Yahoo!?
> Sign up for SBC Yahoo! Dial - First Month Free
> http://sbc.yahoo.com
>
>
> ---
>
> Improve your web design skills with these new books
> from
> Glasshaus.
>
> Usable Web Menus
>
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/thepr
> ogramme
> r-20
> Constructing Accessible Web Sites
>
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/thepr
> ogramme
> r-20
> Practical JavaScript for the Usable Web
>
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/thepr
> ogramme
> r-20
>
>
>
> ---
>
> Improve your web design skills with these new books
> from Glasshaus.
>
> Usable Web Menus
>
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
> r-20
> Constructing Accessible Web Sites
>
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
> r-20
> Practical JavaScript for the Usable Web
>
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
> r-20
__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com
|
|
 |