If you are doing this in JavaScript on a web page, you can't access the
user's file system, which is why that is failing.
--
Chris Jackson
Software Engineer
Microsoft MVP - Windows Client
Windows XP Associate Expert
--
More people read the newsgroups than read my email.
Reply to the newsgroup for a faster response.
(Control-G using Outlook Express)
--
"Oren" <an*******@discussions.microsoft.com> wrote in message
news:04****************************@phx.gbl...
hi all,
i'm tring to get a file size by writing:
var fso = new ActiveXObject("Scripting.FileSystemObject");
and i get the error:
Microsoft JScript runtime error: Automation server can't
create object
any ideas ?
Oren