Sign in to follow this  
Followers 0
narayanjr

Reading an Open file

4 posts in this topic

Is there anyway to read a text file that is open and being written to by another program?

One program is constantly writing things to a file and it never closes it until the program stops, but i need to be able to keep getting text out of the file while it is open.

Any ideas?

Thanks.

Share this post


Link to post
Share on other sites



Is it possible to close it somehow, then have autoit read it then reopen so the program can continue to write to the file?

Share this post


Link to post
Share on other sites

Is there anyway to read a text file that is open and being written to by another program?

One program is constantly writing things to a file and it never closes it until the program stops, but i need to be able to keep getting text out of the file while it is open.

Any ideas?

Thanks.

you can only really read what is saved to a file.

you can always send (ctrl & s) to save it, and then read the file.

Share this post


Link to post
Share on other sites

I cant send Control S to it because it is not a window. It is a dll that is writing a log file and it doesnt open a window that i can send control s to.

Any other ideas?

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0