cancel
Showing results for 
Search instead for 
Did you mean: 

How to delete log folders under th Project Suite log folder

SOLVED
Highlighted
Super Contributor

How to delete log folders under th Project Suite log folder

We are running Testcomplete Tests on remote machines which have TestExecute .. With the help of batch file and Task scheduler we are running the tests for every 30 minutes of the day. SO the tests are running every day i.e. 24/7.

 

Now I am seeing those project Suite log files have occupied lot of memory which can make machine very slow. 

Does any one know how to delete the files under the project suite Log Folder automatically using the batch file programming ? I am using the following command which delete the folder under the Log folder which are 2 days old. But the issue is it give the error if it do not find the folders which are 2 days old . How can I avoid this error ?

 

ForFiles /p "C:\Users\nisgupta\Documents\TestComplete\IS\Finance\HSC\Budget Revision System\Budget Revision System HSC\Log" /s /d -2 /c "cmd /c del /f /q @path"

 

Thanks

NG

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Leader

Hi,

 

Take a look at this thread:

 

https://community.smartbear.com/t5/TestComplete-Functional-Web/Is-there-a-way-to-delete-the-log-summ...

 

You can automatically configure TC to delete log files for You.

View solution in original post

3 REPLIES 3
Highlighted
Community Leader

Hi,

 

Take a look at this thread:

 

https://community.smartbear.com/t5/TestComplete-Functional-Web/Is-there-a-way-to-delete-the-log-summ...

 

You can automatically configure TC to delete log files for You.

View solution in original post

Highlighted
Super Contributor

@Wamboo 

 

Thanks you for the updates. I see that it delete the files in the folders. What about the folders ?

 

Thanks

NG

Highlighted

@Wamboo 

 

Ignore my previous comments. I Tested this feature . look like it is working now. 

 

Thanks

NG

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors