czhe Posted February 22, 2010 Posted February 22, 2010 Hi all, I have some code that creates a text file using: _FileCreate($fileName) and periodically writes to it using: _FileWriteToLine($fileName, 1, $timeCount, 1) While the code is running, I can open it at any time and it will have an updated value. My problem is that I need to retain the latest contents in this file in the event of a crash. I noticed that if I reset the computer while the code is running, the text file will be empty upon system recovery. What can I do save the data permanently in the text file each time something is written to it? Thanks for any input, czhe
99ojo Posted February 22, 2010 Posted February 22, 2010 Hi, deja vu? Please answer to your 1st post. Double posting could cause some allergic reactions...... ;-)) Stefan
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now