Re: Contents of a Directory
From: Steven Livolsi (steven.livolsi_at_ngc.com)
Date: 12/02/04
- Next message: Keith: "CGI TIMEOUT"
- Previous message: Jim: "iis and doing .NET development on shared drives....."
- In reply to: Tom Kaminski [MVP]: "Re: Contents of a Directory"
- Next in thread: Tom Kaminski [MVP]: "Re: Contents of a Directory"
- Reply: Tom Kaminski [MVP]: "Re: Contents of a Directory"
- Reply: Jeff Cochran: "Re: Contents of a Directory"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 2 Dec 2004 12:14:38 -0500
Thanks.
I tried using the File System Objects in my java scipt but it looks like
the java script code bombed.
It bombed on the statement:
fso = new ActiveXObject("Scripting.FileSystemObject");
If I comment out the above statement, my java script function does not bomb.
Is there a setting or something I need to do with my windows 2003 IIS sever?
Is there an include file I need?
My java script is:
<script language=javascript>
function select_change()
{
.
.
.
var fso;
fso = new ActiveXObject("Scripting.FileSystemObject");
.
.
.
}
</script>
Here's part
"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
news:%23HvzBK$1EHA.3324@tk2msftngp13.phx.gbl...
> "Steven Livolsi" <steven.livolsi@ngc.com> wrote in message
> news:Ow0V54#1EHA.1860@TK2MSFTNGP15.phx.gbl...
> > Maybe I wasn't clear. All I want is to get the directory names and file
> > names that are contained in a specified directory path.
> >
> > A filename.dll will be executing this code.
>
> Depends on what language/tool you're using. Most of the time you can
> reference the COM based filesystemobject:
>
http://msdn.microsoft.com/library/en-us/script56/html/FSOoriFileSystemObject.asp
>
> Here's a reference to the Platform SDK:
>
http://msdn.microsoft.com/library/en-us/fileio/base/listing_the_files_in_a_directory.asp
>
> If you're using dot net, see the System.IO classes:
> http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIO.asp
>
>
- Next message: Keith: "CGI TIMEOUT"
- Previous message: Jim: "iis and doing .NET development on shared drives....."
- In reply to: Tom Kaminski [MVP]: "Re: Contents of a Directory"
- Next in thread: Tom Kaminski [MVP]: "Re: Contents of a Directory"
- Reply: Tom Kaminski [MVP]: "Re: Contents of a Directory"
- Reply: Jeff Cochran: "Re: Contents of a Directory"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|