Auto delete files from folder (button)

Is it possible to create a button that would automatic delete files from the folder?

Probably. But more details are needed. What do you want happen when the button is pushed? Delete a list of named files below the current folder? Delete a wildcard like *.tmp below the current folder? Delete from a fixed folder, ignoring the current folder? Something else?

For example. I have folder in "C" partition called "Temp" - C:\Temp
Inside this catalog i have lot of files i want to delete by pressing a button.
But i do not want delete folder "temp" itself.

Delete "C:\Temp\*" will delete everything below C:\Temp.

1 Like

I believe that folder will be created by windows when needed - unless you yourself want to access it for some reason