To run the purge tool on Windows, you can use the sample script purge.bat provided on the installation media.
Before you begin
Important: To run the scripts, make sure you have your JAVA_HOME environment variable set.
Procedure
- To run the purge tool on Windows, on the installation media, copy
Content Delivery\resources\purge\purge.bat to one of the following, depending on where your Content Delivery and Archive Manager is running:
- the root directory of the Web application
- the
TRIDION_HOME directory, for example C:\Program Files\Tridion\
- Go to Start > Run.
- Enter
cmd and click OK to open a Command Prompt.
- Navigate to your Tridion Installation directory:
If your Web application path is very long, the purge tool may return an error. If this is the case, you can work around this problem by temporarily copying your entire Web application folder (including all of its files and subfolders) to a location with a shorter path, say, c:\temp\. Now run the purge.bat as above in its new location, and the purge succeeds.