Is there a way to prevent Cognos from generating the XML files along with the report output when saving to a local file system?
I looked into doing the same thing, but to no avail. I contacted Cognos and they informed me that because the xml file is used to create an additional report output type, it's necessary (makes sense).
If the issue is that you don't want the end recipient to see the xml files, you can modify the .bat file to save the renamed output to a different path/location and then refer the end user to this alternate path. This is the solution I implemented and it works nicely.
Outside of that, you could also modify the VB script to delete the xml files once it finishes the rename.
Can you provide an example of the script you used to delete the XML files?