SandsB
Well-known Member
- Joined
- Feb 13, 2007
- Messages
- 705
- Office Version
- 365
- Platform
- Windows
I need to mechanize a process to monitor one of our systems. I need something that will read a text file every minute and strip off the last 3 characters of the 6th line of text and put it in a text file with some other text.
So if the 6th line of text is:
7 100 1 0 0 0 741
I'd copy the 741 into a text file that says only:
Curent Load is 741
The last 3 characters my start with a space like " 41"
The text file needs to be completely overwritten every minute. I can use a scheduler to run somethign to do that. I just have no clue how to get that little string into a text file. I'm sure it's possible with Excel but I'm stumped. If anybody knows a non-Excel way to do it I'd appreciate that too. I have no money to buy any tools, though. Thanks
So if the 6th line of text is:
7 100 1 0 0 0 741
I'd copy the 741 into a text file that says only:
Curent Load is 741
The last 3 characters my start with a space like " 41"
The text file needs to be completely overwritten every minute. I can use a scheduler to run somethign to do that. I just have no clue how to get that little string into a text file. I'm sure it's possible with Excel but I'm stumped. If anybody knows a non-Excel way to do it I'd appreciate that too. I have no money to buy any tools, though. Thanks