There is no way to change how the pdf report files are named from the software's GUI beyond the destination file name that can be specified in the report method. The rest of the naming pattern is hard-coded in the software. Renaming the report files could potentially be handled in a post process script, but that would require application consulting from Agilent if you would like one to be developed for you.

I received confirmation that adding a date and time stamp to the end of a report file would be possible through editing Python code in Quant. This would be a custom modification of the software and you would need to contact your local Agilent support (Contact Us | Agilent ) to request this.

There is one very minor caveat. The reporting process has a feature to open the published file when complete. That feature no longer works as it doesn’t know the file name has been changed.

I can only repeat the recommendation I gave you in my previous reply. This would be a custom modification of the software and you would need to contact your local Agilent support (Contact Us | Agilent ) to request this.

This is an open community so it is possible another user might be able to chime in with other recommendations, but if this is an urgent matter then contacting support would be the best course of action.

Decided to have a crack at this, seemed like a good mini project that I hadn't thought to do with our own reports.

You've referenced a .bat script so I assume some passing familiarity here but for those who might not be as familiar I'll Go in some detail step by step.

I decide to go with a vbs script rather than .bat but otherwise the same idea. Here we go...

1. Create a new text file in Explorer for your script. Rename the file from "New Text Document.txt" to something like "Rename_script.vbs" the file extension is important here. If you can't see file extensions by default then change that setting in Explorer so you can change it. You'll get an "Are you sure" type message when you change the extension, just hit "Yes".

2. Open your new script by right clicking and selecting "Edit" don't double click the file to open, that runs scripts and your's is empty at this point, it will do nothing.

3. Paste in the following (I'll tell you how to edit it to meet your needs later:

4. The important parts here are the WScrip.Arguments and the MoveFile command. The Argument is what Masshunter will pass to the script to tell it where the report pdf file is, the MoveFile command is what we use to rename the file. The idea is we "Move" the file in the same place to give it a new name.

5. There the script says"REPORT_NAME.pdf" in my example, replace with your Destination file name. From here you can either change the report name completely like I have above or use the same base file name and add to it. The script will do year month day hour minute second as you initially asked. But you can add other features if you like. I don't know that you can make it add the batch name or anything like that.

6. Once you have this file you need to add a trigger for it in your report method.

7. Go to Masshunter and open the report method editor:

Click on "Edit Post Processes..."

Click "New"

Give your new Post Process Task a name, like "Rename_Report"

In the Executable file box add the file path type in the file path and script file name in full.

In the Arguments box use the $(ReportFolder) argument macro.

8. Click "OK", Close the Post Processes dialog.

9. Now select the Post Process in the dropdown box of the report method editor:

10. Save and Exit the report method editor.

Run your report and cross your fingers...

Now you can obviously use the Move command to actually move your report somewhere else, say a central location that you want all your reports to go to. Or change the command to CopyFile to create a copy somewhere else withe the new name.

Hopefully someone will find this useful, and I will accumulate enough good karma points for someone to answer my question .