210 pts.
 Delete contents of a folder tree with a kill statement
Would anyone know of a code, or be able to point me to one, that will delete all files and folders under a given location.  I am looking to schedule the empting of temp folders and would like it to be all inclusive.  If a kill statement is needed also to force delete folders and there content that would help.  Please advise of the best method to automate this and any help would be appreciated.  Thank you.

Software/Hardware used:
ASKED: May 6, 2011  12:40 AM
UPDATED: June 3, 2011  1:03 PM

Answer Wiki:
just bash in the code for delete into command line or VBS etc.. with it pointed to the directory such as C:folders with crap* where the * in windows is the wildcard for anything in this location. Job done.
Last Wiki Answer Submitted:  June 3, 2011  1:03 pm  by  ErroneousGiant   3,120 pts.
All Answer Wiki Contributors:  ErroneousGiant   3,120 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _