Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

EMPTY FOLDERS & UNUSED DOCUMENTS

Status
Not open for further replies.

Soundmagus

Technical User
Jan 11, 2007
3
GB
HI all

My 2nd post !

I am also looking for FREE tools that will allow me to track down empty folders (in shared drives, users folders etc) on server 2003 network. I am pretty sure there are tools out there that do this but wether they are free or supplied with 2003 server i am not aware.

I am also looking for another FREE tool which allows me to specify search parameters which will look for documents that have not been "amended" for a specified amount of time ie if a file hasnt been changed for 1 year then it will track it down and show me a list of said files and destinations and allow me to delete or remove them all from my network.

Thanks for your help guys.

Mark
 
You can do all of what you are asking using vbscript. forum329

You will want to use the FileSystemObject to bind to a folder and get a count of the files in it. if zero then you could have the script delete the folder. Be careful and check for SubFolders first though.

Also using the FileSystemObject you can look at the File.LastModifiedDate to determine the last time a file was changed and create a list for you to investigate.

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
 
thanks man this sounds like its on the right track.

i cant write vbscript but i know some people who can. When you say you have to bind the FileSystemObject to a folder can that be a drive? and can you make it check for subfolders also?

I dont want to have to bind it to folders manually as this will be system wide over a large corporate network.

thanks for your help Mark.

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top