Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. Delete temporary files from batch script in xp Ask Question. Asked 12 years, 7 months ago. Active 9 years, 1 month ago. Viewed 21k times. Anyone have a good one or can point to a good resource? Improve this question. David Pashley Keith Bentrup Keith Bentrup 3 3 gold badges 8 8 silver badges 19 19 bronze badges.
More on automating CleanMgr here Add a comment. Active Oldest Votes. Creates temps. Improve this answer. Garrett Garrett 1, 4 4 gold badges 14 14 silver badges 25 25 bronze badges. Evan Anderson Evan Anderson k 18 18 gold badges silver badges bronze badges. Jim B Jim B Julius Thyssen Julius Thyssen 11 1 1 bronze badge. Vito Vito. Michiel van den Boogaard Michiel van den Boogaard 1. Sign up or log in Sign up using Google.
Sign up using Facebook. Community Bot 1. Chris Chris 29 1 1 gold badge 1 1 silver badge 3 3 bronze badges. Are you on a domain using AD? OR not add all 3? MaskedPlant no particular reason - it was like 3 AM and it made sense at the time :- — voretaq7.
I'm pretty new and just trying to learn from super users like you. Show 1 more comment. Active Oldest Votes. Improve this answer. MaskedPlant MaskedPlant 1 1 gold badge 3 3 silver badges 8 8 bronze badges. Awesome - this is exactly what I was looking for. I'm aware that it wipes out a lot of files.
I'll try it on a few machines and report back with results. I will modify this to delete folder contents rather than re-create folders, because we're running the script as administrator. I don't want to create folders with improper default permissions and break things as a result. Add a comment. Facebook Twitter Reddit LinkedIn. Danyal Ali. Main Areas of Contribution:. Track Progress. Earn Credits. Step 3: Place icsweep. Step 4: Ensure all Users are Logged off. Step 5: Open Command Prompt.
0コメント