File deletion
Pavel Mencl
This one has been bugging last few days, I've finally found a clue but don't know how to fix it:
Batch program prepares an xml QueryFile, calls a web service and receives an xml ResponseFile. These files are stored in %TempDir% and are deleted before each web service call. And here comes the problem: I have one station where only the QueryFile gets deleted but not the ResponseFile. I can delete it manually but the program won't do it. I know this is a vague and sketchy description but any idea whatsover will be greatly appreciated, I'm grasping at straws. Thanks Pavel |
|
Steven Burrows
Virus Checkers were the bane of my life for ages (and still are in XPA 2.5), xml is a file type they seem to insist are important and on a slow machine they can be locked for ages.
Got around the issue by using the Windows Temp folder, and simply NOT deleting them. Its now down to the user to run standard Windows Tidy features if/when they need to. If that’s a little insecure, make sure you can identify the files with a wildcard and periodically delete them all.
Steven Burrows
From: main@magicu-l.groups.io <main@magicu-l.groups.io>
On Behalf Of Pavel Mencl via groups.io
Sent: 18 January 2023 12:31 To: main@magicu-l.groups.io Subject: [magicu-l] File deletion
This one has been bugging last few days, I've finally found a clue but don't know how to fix it: |
|
Pavel Mencl
That's definitively worth looking into as our company is in the midst of switching AV tools.
Thanks! Pavel |
|