Here is a technique usable in IE Only.
var fso=new ActiveXObject('Scripting.FileSystemObject');
function WriteToFile()
{
var writeStream=fso.CreateTextFile('C:\TestFile.txt',true);
writeStream.writeLine('This is a test file');
writeStream.close();
}
Share with