Skip to content

Delete Files from root of %Appdata% #27

@YogiBear7979

Description

@YogiBear7979

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:

  1. Save some *.XML files to the root of %appdata%
  2. Add this to the targets file: %AppData%*.XML
  3. 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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions