Search found 2 matches
- 13 Jan 2021 21:14
- Forum: DOS Batch Forum
- Topic: save text file contents into a temporary variable and echo it only if that text file is modified
- Replies: 2
- Views: 3111
save text file contents into a temporary variable and echo it only if that text file is modified
Currently what I have checks to see if a text file has been modified, if it hasn't then recheck else type out the file contents. What im attempting to do is after the file contents have been tyuped out, store a temporary variable with the contents from that file and echo it ONLY when the file is mod...
- 13 Jan 2021 03:53
- Forum: DOS Batch Forum
- Topic: Batch file to constantly read from a text file and write to the console
- Replies: 1
- Views: 2417
Batch file to constantly read from a text file and write to the console
Hi im looking for a batch file that reads from a text file that is constantly updated (text file is an output logger) and writes the outputs into a new line each time. Console automatically closes when nothing is being read for X amount of time or when a certain application is closed (If possible) w...