I have a terminal server running Windows 2008 R2 with about 100 users. Each user has a "downloads" folder. I need to schedule a weekly batch file to delete the files inside of this folder for all users.
For one user, I can use this simple batch file:
Del *.* /Q
Is it possible to delete the contents of the "Downloads" folder for all users - all folders that are in C:\Users?