Book a Demo

Author Topic: JavaScript: write a file  (Read 4769 times)

Ralf

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
JavaScript: write a file
« on: August 26, 2011, 04:51:09 pm »
Is it possible to create and write a file from a JavaScript Script?
If not, is it possible in a JScript Script?

Thanx,
Ralf

johann

  • EA User
  • **
  • Posts: 27
  • Karma: +2/-0
    • View Profile
Re: JavaScript: write a file
« Reply #1 on: August 26, 2011, 09:07:47 pm »
Writing to a file is not possible with JavaScript.

But with JScript you can use Microsoft Windows Scripting Technologies (including file access via File System Objects). For a reference see http://msdn.microsoft.com/en-us/library/bkx696eh%28v=VS.85%29.aspx