• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 494
  • Last Modified:

script to remove files in windows 2008

I have spool files that get filed in
 C:\users\admin-service\AppData\local\Temp

I need to write a script on how to remove them, I have never written scripts before can anyone point me in the right direction.
Regards
0
Amanda Walshaw
Asked:
Amanda Walshaw
1 Solution
 
databoksCommented:
del "YourPathGoesHere"\*.*   /s /f  /q
0
 
Amanda WalshawBusiness Solutions AnalsystAuthor Commented:
yes all in one now setup a task as well to run each week many thanks
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now