Schedule Delete File

  • Thread starter Thread starter Ivan Kan
  • Start date Start date
I

Ivan Kan

I want to set a schedule to delete all files from a Temporary Folder.

I have tried to use Dos Delete.

However, we found that Dos Delete, the server must need reboot to remain
normal.

Is that possible to use other method to delete all files in folder other
than use dos command?

Ivan
 
Ivan Kan said:
I want to set a schedule to delete all files from a Temporary Folder.

I have tried to use Dos Delete.

However, we found that Dos Delete, the server must need reboot to remain
normal.

Is that possible to use other method to delete all files in folder other
than use dos command?

Ivan
Comrade,

Some of of those files in the temp dir are locked by the OS and can't be
deleted while the OS is running.
I'd suggest using the 'Scheduled tasks' in the Control Panel to kick off a
batch file that you create which erases the temp directories when you reboot
the system.
There are other methods, but this one works for me.

Uncle Joe
 

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