Script to delete user files older than 2 days
Posted on 2014-04-01
Hi! I need help with a VB Script or Command Prompt script that deletes files from users profiles on the server every 2 days
The users RDP to these servers and have their own profiles. They save certain files in there, which they shouldn't be doing. As such, I need help with a script that deletes all files from each user profile on these servers.
The script should check for files that are older than 2 days old and delete files older than 2 days old.
These are the areas that the files need to be deleted from. <username> is the user login profile.
Can this be done?
The structure on the server