ActiveX Folder List
Folder List
<HTML><HEAD>
<TITLE>Show Folders List</TITLE>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
function show() {
var nobj, get, en, result;
result = "";
nobj = new ActiveXObject("Scripting.FileSystemObject");
get = nobj.GetFolder('C:\\');
en = new Enumerator(get.SubFolders);
for (; !en.atEnd(); en.moveNext()) { result += ""+en.item()+"<BR>"; }
return(result);
}
</SCRIPT>
<A HREF="javascript:show()">View Files in C:\</A>