Any ideas on how I can script a drive cleanup utility?. I need to search for
temporay files and delete them. I also need to find *.jpg, *.wma, *.exe in
network folders and delete these files to minimize disk space usage. Also
need to search for filesize, last accessdate/time.


Thanks
Andres

Re: Folder cleanup - how by Steve

Steve
Mon Mar 01 09:21:25 CST 2004

Andres M. Hidalgo wrote:
> Any ideas on how I can script a drive cleanup utility?. I need to search for
> temporay files and delete them. I also need to find *.jpg, *.wma, *.exe in
> network folders and delete these files to minimize disk space usage. Also
> need to search for filesize, last accessdate/time.

FileSystemObject
http://msdn.microsoft.com/library/en-us/script56/html/fsoorifilesystemobject.asp

Download Windows Script Documentation
http://www.microsoft.com/downloads/details.aspx?FamilyId=01592C48-207D-4BE1-8A76-1C4099D7BBB9

--
Steve

Clay is moulded to make a vessel, but the utility of the vessel lies in the
space where there is nothing. Thus, taking advantage of what is, we recognize
the utility of what is not. -Lao Tzu