Since Windows upgrades generate $****$ folders in the %windir% directory, and generally these folders are useless, so I want to make a batch script to delete these folders.
That is, how to delete all the upgrade backup folders $****$ in the %windir% directory and all their contents? Deleting files can use wildcards, but del doesn't work. Using rd also requires the full name. How to use wildcards?
[ Last edited by austion on 2006-7-13 at 19:22 ]
That is, how to delete all the upgrade backup folders $****$ in the %windir% directory and all their contents? Deleting files can use wildcards, but del doesn't work. Using rd also requires the full name. How to use wildcards?
[ Last edited by austion on 2006-7-13 at 19:22 ]

