Windows batch file to check if a file has changed and if it has do something
Archived; click post to view.
Excerpt: I needed a Windows batch file to check if a file has changed and if it has do something. What I was trying to accomplish is I have a file written to the c:\ drive by a web application as users interact with it. It rewrites the file every couple of minutes or so. When the file is rewritten I want it to display the content to the window or log it into a file. I didn’t want to display it or log it unless the info has actually changed. Here was some advice I got You can check if a file has…
Popularity: 31% [?]



