Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


Tom Tinsley
2009-04-03T00:49:28Z
I am still not getting this to work correctly. How would you script deleting all files in the c:\windows\temp folder? My script will delete a couple of files and leave a lot more. One or two of the files can not be deleted however the others are free to delete. The problem is the Delete Function will delete one file at a time until it gets to that locked file and then the script will stop. I want it to continue after it reaches the locked file and finish deleting the rest of the files.
Sponsor
Forum information
Support
2009-04-03T12:26:06Z
Hi Thomas,

we will change that in next version so that you can choose to continue on this error. We will notify you when it has been implemented.

TomTinsley wrote:

I am still not getting this to work correctly. How would you script deleting all files in the c:\windows\temp folder? My script will delete a couple of files and leave a lot more. One or two of the files can not be deleted however the others are free to delete. The problem is the Delete Function will delete one file at a time until it gets to that locked file and then the script will stop. I want it to continue after it reaches the locked file and finish deleting the rest of the files.



Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Support
2009-04-19T13:36:06Z
In 5.1.1. we have added some error handling in the On error tab of the Task.

Select "Only selected errors" and unselect "Permission denied" and "IO exception".

Look here for the download: http://www.visualcron.co...m.aspx?g=posts&t=531 
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Tom Tinsley
2009-04-20T19:41:54Z
Quote:

In 5.1.1. we have added some error handling in the On error tab of the Task.

Select "Only selected errors" and unselect "Permission denied" and "IO exception".

Look here for the download: http://www.visualcron.co...m.aspx?g=posts&t=531 




NICE!!!!

This is much better, I Like It.

TomTinsley
Scroll to Top