Creating a file

M

Mark

It there another was to do this
var fso = new ActiveXObject('Scripting.FileSystemObject');

Im trying to run a javascript file automatically, but it complains that I
have to say YES to Active X.



Thanks
Mark
 
M

Martin Honnen

Mark said:
It there another was to do this
var fso = new ActiveXObject('Scripting.FileSystemObject');

Im trying to run a javascript file automatically, but it complains that I
have to say YES to Active X.

If you are on Windows and want script to access the file system then
consider using a HTML application (.hta file), if you save that locally
and then start it script in it can access the file system or do other
stuff script inside a browser is usually not allowed. Of course if you
put your .hta on a web server others would need to download it and run
it locally too to have the script access the file system.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top