Code:
//creates a tmp file and writes the variables into it
var path = Shell.getSpecialFolder("temp");
var name = path + "\\1.txt";
trace(name);
var f = new FileStream(name, "w");
f.writeLine("&name=mark");
f.writeLine("®istered=yes");
f.writeLine("&blah=blalalala");
f.close();
//tests the file
Shell.open(name);
or
Code:
//creates a tmp file and writes the variables into it
var path = Shell.getSpecialFolder("temp");
var name = path + "\\1.ini";
var myini = new Ini(name);
myini.writeString("var", "&name", "mark");
myini.writeString("var", "®istered", "yes");
myini.writeString("var", "&blah", "blalalala");
//tests the file
Shell.open(name);