Pureinfotech Forums

How to delete files on shared server using ForFiles on Windows 10?

I’ve followed your guide on how to delete files older than X days automatically on Windows 10, but the problem is that I can’t get it to work on our company’s shared drive. I am an IT and have full rights to that drive.

Trying mounting the shared folder as drive in File Explorer, and then run the command to delete files after an X number of days using the path to the drive as it appears in File Explorer.