Scripts Thread, A script to delete files created by certain owners in Coding and Web Development; Hi chaps,
here's an interesting one for you
Problem: 3 teachers have write access to student home directories in order ...
-
22nd January 2009, 11:44 PM #1 A script to delete files created by certain owners
Hi chaps,
here's an interesting one for you 
Problem: 3 teachers have write access to student home directories in order to "correct" work. Whilst I dont have a problem with that, I dont want them to create files (circumventing student quotas) and clogging up the server. As I cannot stop them from creating files, the next best thing is to routinely delete the files they have created where the shouldnt have done.
Can anyone propose a script that would scan a certain directory on a server(student home drives) and delete any files that are created by specified users
It's for Windows server 2003/2008, so it could be a VB or BAT script I assume??
Thank you please
-
-
IDG Tech News
-
22nd January 2009, 11:55 PM #2 I have some VBS code that find the files of a certain user. I will see if its relevant for you tomorrow as I wrote it about 3 years ago and cant quite remember it's content.
-
-
23rd January 2009, 12:21 AM #3 Thanks Chris, that'd be ace
-
SHARE:
Similar Threads
-
By tri_94 in forum Scripts
Replies: 9
Last Post: 30th April 2008, 04:56 PM
-
By projector1 in forum Scripts
Replies: 5
Last Post: 9th March 2008, 01:15 AM
-
Replies: 3
Last Post: 18th January 2008, 02:46 PM
-
By Mr_M_Cox in forum Scripts
Replies: 10
Last Post: 13th June 2007, 03:51 PM
-
By OutToLunch in forum Scripts
Replies: 3
Last Post: 25th September 2006, 12:27 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules