Hi all,

I got this problem. I have an asp-file containing only this piece of
script. Though all other asp-based files work, this piece doesn't.
IUSR_server has all the rights on the directory, and on scrrun.dll (as
somebody suggested).

Does anybody have an idea? Your help is greatly appreciated.



Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
Set objFolder = objFSO.GetFolder("d:\webroot\testing\images\Large\")
Set objFiles = objFolder.Files
response.write objFiles.count


Grtz
Bart

Re: no. of Files not count? by Ray

Ray
Fri Jul 04 15:13:02 CDT 2003

What does "don't work" mean?

This? http://www.aspfaq.com/2180

Ray at home

"Batje4" <batje4_nospam_@gmx.net> wrote in message
news:Xns93AEDC260826BBatje4hotmailcom@194.109.133.20...
> Hi all,
>
> I got this problem. I have an asp-file containing only this piece of
> script. Though all other asp-based files work, this piece doesn't.
> IUSR_server has all the rights on the directory, and on scrrun.dll (as
> somebody suggested).
>
> Does anybody have an idea? Your help is greatly appreciated.
>
>
>
> Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
> Set objFolder = objFSO.GetFolder("d:\webroot\testing\images\Large\")
> Set objFiles = objFolder.Files
> response.write objFiles.count
>
>
> Grtz
> Bart