Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Need advice on creating a batch file to delete files repeatly.


  • Please log in to reply
No replies to this topic

#1 MaMister

MaMister

  • Members
  • 101 posts
  • OFFLINE
  •  
  • Local time:06:20 AM

Posted 11 August 2016 - 06:59 AM

Hi all, I would like to create a batch file to delete all files in a folder

 

The basic i know is:

 

Timeout /t 120

Del "C:\Users\Owner\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\*.*" /F /Q
 

 

I have it do after 120 when all programs are loaded, then start the delete job every 3 secs until it reaches 1 hour

 

Please advice.

 

Thanks.



BC AdBot (Login to Remove)

 


m



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users