Purging files in Windows

  • Thread starter Thread starter Rachit Khanna
  • Start date Start date
R

Rachit Khanna

Hi,
can anyone help me on this?
I need to purge(delete) files from a folder in windows on
a weekly basis.Can anyone suggest how i can go about doing
this.
Is their any script that i can write for the same ?
Thanks
Rachit
 
You could write a simple batch file -

del <full path to folder, including "" if there are spaces>\*.* /q

and use Task Scheduler to run the batch file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top