Thank y'all for your help.
I've transferred the formulas into my own batch file with total success.
Here's an edited readout, when I ran the new batch file on my own PC, just now.
Performing initial file count. Please wait!
File Count before cleaning: 63705 files
Press any key to continue . . .
Disk Cleanup now starting. Please Wait!
Rem: Disk Cleanup messages shown here.
The system cannot find the file specified.
Disk Cleanup is now complete.
Performing File Count, After Cleaning. Please Wait!
File count after cleaning: 63453 files
Files deleted: 252 files
Press any key to continue . . .I'm appalled but not overly surprised at just how fast Windows collects junk files.
I've been running cleanup batch files for years, going all the way back to Windows 98,
but it's just now that I'm getting really serious about it. I've even added lines to
empty the Recycle Bins and to empty the AVG Virus Vaults.
When I clean up a customer's PC and tweak and tune it for optimum performance,
I leave a copy of my cleanup batch file, minus the file counts and pauses, in their
startup folder, for a daily cleanup. That prevents the huge buildup of junk files on
their hard drives. I call that my "Free Maid Service".
I run another cleanup program that does give me a file count and megabyte count,
when it removes "Unnecessary Files". On an initial cleanup of a customers PC that's
had no service, it's not at all unusual for that program to find well over 100,000 files.
Again, 'Thank You' (all) for your help. Mission accomplished!
Mark up another success for the "Computer Hope" forum.
Remember Steve JobsThe Shadow
![Cool 8)](https://www.computerhope.com/forum/Smileys/classic/cool.gif)