Delete temporary files from batch script in xp
        Posted  
        
            by 
                Keith Bentrup
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by Keith Bentrup
        
        
        
        Published on 2009-06-04T03:01:18Z
        Indexed on 
            2012/11/30
            17:07 UTC
        
        
        Read the original article
        Hit count: 300
        
I'm looking for a good batch script that would quickly find & clean all the known safe temporary folders/files from Windows (as many variants as possible) machines (e.g. the windows temp folder, all users IE temp folders, etc.). I'm fond of UI tools like CCleaner (over Cleanmgr.exe), but when I'm trying to clean several computers quickly and/or with minimal involvement, it would be nice to have a script.
Plus with a script, I could chain several scripts together. Maybe one to then fire up various antivirus and/or malware detectors.
Anyone have a good one or can point to a good resource?
© Server Fault or respective owner