General discussion
January 10, 2001 at 12:59 AM
aspiring_one

Deleting a directory’s contents

by aspiring_one . Updated 24 years, 7 months ago

Can someone tell me all the details involved in deleting the contents of a certain directory on a certain day every week?

I know it involves NT Scheduler, but I can’t seem to get it to work. Also, if it is set up properly and I manually run the script (batch file), that should delete it as well, but it doesn’t.

I have the following in the batch file:

del h:\directory\*.* /q

When I double-click on this file, which is saved with a .bat extension, nothing happens. Does anyone know what I’m doing wrong?

This discussion is locked

All Comments