Scheduled file deletion
Posted on 2007-04-09
Windows 2003 File Server - We redirect users "My Documents" to this file server via group policy. Users scan documents to their my documents folder on this file server. I need to delete the scanned documents from each user's "my docs" folder every 7 days. The "my docs" folder path on this server is as follows:
I need to delete all files from this scan folder every 7 days for all users so I need to setup something like this on the file server:
Unfortunately, the %username% only works with the account logged into the server. I need to hit each user's folder "%username%". Is there a way to do this without adding a line to a login script?