Quantcast
Viewing all articles
Browse latest Browse all 166

KB0014396 Setup TEMP File Cleanup with a Batch File

KB Articles

KB Article # 14396

Topic/Category: Installation

Ephesoft Version: 4.0.6.0+

Issue: TEMP Files can consume large amounts space and slow down system performance

 

Solution:
Create a batch file similar to the example below. Utilize the operating system’s built in scheduler to run the batch file manually.

 

In case of windows, the batch file may look similar to the following:

REM Remove files and directories older than 5 days
forfiles /p "C:\Windows\Temp" /s /m *.* /c "cmd /c Del @path /Q" /d -5
FORFILES /p "C:\Windows\Temp" /S /D -5 /C "cmd /c IF @isdir == TRUE RMDIR /S /Q @path"

 

< Back|KB Main Page | Next KB Article >


Viewing all articles
Browse latest Browse all 166

Trending Articles