Jump to content

Open and read files with weird extensions


 Share

Recommended Posts

Hello AutoIt-verse!

I am hoping to get some advice on a problem I am having.  I have made a script that goes alongside a Point of Sale program I use frequently.  It monitors running modules, runs maintenance on the computer, and auto patches.  First it patches the server, and then the terminals attached to the server.

With this Point of Sale program, there are a few ways it can fail patching.  I have fail-safes in for the server, where it sends me an email if the patch fails.  However, I am trying to find a way for the terminals to report to the server whether or not they have successfully patched, because they are not on the internet.  The terminals actually do create logs on the server with the information I need, but it creates them with the same name for each log, and creates the log with the extension of *.001, *.002, *.003, and so on indefinitely unless the logs are cleared out.  Whoever thought that great idea up needs a stern talking to.

These files are openable in Notepad, but because of the weird file extension, I can't think of a way to have AutoIt sift through these specific logs and extrapolate date from them.  I know this is a weird one, I tried to put in as much context as I could.  Does anyone have any ideas??


Thank you in advance!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...