-
Replacing a line of text from a File using VBScript
Hi All,
How can we replace a line (based on some condition) from a constantly changing text file. In other words a text file is being used to store some data by an application that runs all the time, I want to create another script using VBScript using I want to read the changing text file and replace some lines based on some of my conditions.
Please share your thoughts in this issue.
Regards
Code Exploiter
-
-
You can't, because the lines won't be in the same order when they're read as when they're written back. I suggest you use some form of socket (COM or UNIX sockets).
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks