[thelist] With ASP's FileSystem Object, tell if directory is empty.

Craig cd-ml at aardvark.net.au
Tue Jul 23 23:51:00 CDT 2002


It does work when using "." and "..".
For Example:
fs.OpenTextFile(server.mappath("..\dir\dir\file.txt")

Craig.

----- Original Message -----
From: "Chris Blessing" <webguy at mail.rit.edu>
To: <thelist at lists.evolt.org>
Sent: Wednesday, July 24, 2002 12:12 AM
Subject: RE: [thelist] With ASP's FileSystem Object, tell if directory is
empty.


> I believe you can use relative pathing within the server.mappath()
function
> but I cannot recall 100% since I haven't tried it myself. :)
>
> Chris Blessing
> webguy at mail.rit.edu
> http://www.330i.net

> > I forgot... do you get "." and ".." using FSO?  You'll have to ignore
> > those.
> >
> > Michael





More information about the thelist mailing list