Documentation Center

Purging on Microsoft Windows systems

To run the purge tool on Windows, you can use the sample script purge.bat provided on the installation media.

Before you begin

Procedure

  1. 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\
  2. Go to Start > Run.
  3. Enter cmd and click OK to open a Command Prompt.
  4. Navigate to your Tridion Installation directory:
    • The following example is based on the Archive Manager deployed as a Web application:
      purge.bat classes lib 2002.11.23-15:02:00:-0000 1
    • The following example is based on the Archive Manager (Content Delivery) running as a Windows service (based on TRIDION_HOME):
      purge.bat bin lib 2002.11.23-15:02:00:-0000 1
    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.