efilnikufecin
Member
Code:
string filename = "\chardata\\" + my_name() + "_data.inf";
cli_execute("mirror " + filename);
print("something");
cli_execute("mirror");
for a while (long ago) that code worked as expected. It would create a folder named chardata in the kolmafia folder, and create a file in the folder as indicated above, or add to it if it already existed.
Now that I am needing to pay attention to this file again, I notice:
A> it's in a folder called "hardata" instead of "chardata"
B> the file get's overwritten every time.
So my questions are:
A> what format is kolmafia now expecting for the filename parameter to the mirror command?
B> is there a way to make it not over-write the file?
C> why is kolmafia creating a file in the same folder with the full filename of the file I want there with the ".echo" extension added onto it?