how to write to file with wscript jscript code example
Example: writing files in javascript
'use strict'
const fs = require('fs');
let fileContent = 'I can write';
fs.writeFileSync('message.txt', fileContent);
'use strict'
const fs = require('fs');
let fileContent = 'I can write';
fs.writeFileSync('message.txt', fileContent);