Link to home
Start Free TrialLog in
Avatar of Brian
BrianFlag for United States of America

asked on

Deleting folder for each user

I need to iterate thru user folders located in C:\Users and delete Chrome cache folders.  For example, I need to delete:

C:\Users\john.smith\AppData\Local\Google\Chrome\User Data\Default\Cache\*.*

But for each user.  What would be the best way to accomplish this?  I'm thinking either a batch file, VBScript or VB program.
SOLUTION
Avatar of zerih
zerih

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Brian

ASKER

Thanks Zerih!  Would it be possible to convert this to a VBScript?  I can do it in VB, but a script would be easier to update on the server if we ever want to make changes (like add other deletions).
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Joe Howard
Joe Howard
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Brian

ASKER

Thank you all for the help!  I appreciate all the options!