javascript를 사용하여 텍스트 파일을 만들려고합니다. 다음 코드를 시도했지만이 작업은하지 못했습니다. 제게 해결책을주세요. 고맙습니다 .JavaScript를 사용하여 텍스트 파일을 만드는 방법은 무엇입니까?
var fso, file;
fso = new ActiveXObject("Scripting.FileSystemObject");
file = fso.CreateTextFile("c:\\Mytest\test.txt");
file.Close();
ActiveX 구성 요소는 Internet Explorer에서만 작동합니다. – Pointy
@Pointy 감사합니다. – anandh199g
@isherwood 감사합니다. – anandh199g