2 Replies Latest reply on Apr 9, 2008 12:27 PM by (scriptworx)

    append text to logfile

    Level 1
      Can someone tell how to append text to a logfile?

      I use this function, but all existing text is always destoyed:

      function schrijf_naar_log(bestandsnaam){

      var log_bestand = File((Folder(bron_map)) + "/log.txt");

      log_bestand.open("e");
      log_bestand.writeln("\r\n" + bestandsnaam);
      log_bestand.close();

      }

      Michel