24
rated 0 times
[
28]
[
4]
/ answers: 1 / hits: 16869
/ 8 Years ago, fri, march 18, 2016, 12:00:00
I want to create text file (notepad type file) using javascript. My code is given below but it is not working plz. Suggest me any solution for creating text file.
var txt = new ActiveXObject(Scripting.FileSystemObject);
var s = txt.CreateTextFile(D:\test.txt, true);// means file is store in my D drive.
s.WriteLine('Hello');
s.Close(); `
More From » jquery