Check for double files

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
Kris
Posts: 375
Joined: Wed May 12, 2010 3:22 am

Check for double files

Post by Kris »

Hi all,

I have a folder where EDI order message files are created.
Sometimes they are created double, which is not good.
I want to create a test that alerts when a double file is created.

The filenames look like this:
ORDER_<order#>_<datetime>.XML

Example of double file to be detected:

Code: Select all

ORDER_21723_20201113171001.XML
ORDER_21723_20201113182345.XML
  ^     ^          ^
type  order#    date+time
This EDI order message file has been generated twice, with a different timestamp.

Any chance of detecting these without external scripting? :roll:

Thanks!
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Sorry, there is no built-in test for such task

Regards
Alex
Post Reply