fslogix
fslogix copied to clipboard
Delete Files from root of %Appdata%
Describe the bug Prune of *.XML files from the root of %AppData% results in a recursive search and delete of subfolders.
To Reproduce Steps to reproduce the behavior:
- Save some *.XML files to the root of %appdata%
- Add this to the targets file: <Path Action="Prune" Days="0">%AppData%*.XML</Path>
- Run the cleaner
Expected behavior I had expected only the *.XML files in the root of %AppData% to delete. Instead it additionally recursively goes through all sub folders and deletes any other XML files.
Desktop (please complete the following information):
- OS: Windows 10 21H2
- FSLogix Apps agent version [2.9.7979.62170]
We utilize a Microsoft Word plugin that was poorly written. It didn't create a subfolder under %AppData% so it dumps it's cache files in the root. They are all .xml and all disposable.