Jump to content

Recommended Posts

Posted

Hi all

It has just been brought to my attention that due to Office 365 requiring attachments to be downloaded before they are printed, the staff's download folders are getting very full very quickly.

Is there a way I can set them all to be emptied say, once a week? Or is there something else I can do?

Posted

I'd set a scheduled task to run

 


DEL "D:\Staff\TeacherName\Downloads\*.* /q

 

On your file server to delete the contents of the folder. You will need to set this up per teacher though.

Posted

Something like this perhaps?

 

@echo off
pushd "H:\Users\Staff\Work"
for /D %%I in (*) do rmdir /s /q "H:\Users\Staff\Work\%%I\Downloads"
popd

 

Make sure you test it on some non-critical users first though. :)

  • Thanks 1
Posted
Arthurs solution is much better. I'm not too good with this stuff. I used the command I provided to clear the scanning folder in the staff shared area once a week.
  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...