1

How to clean up the Pyramid "General" Folder

The following can be run on all Pyramid servers in your installation.
When the next major release of Pyramid comes out this process will be automatic for printing files created after it is installed/upgraded to. 

The "general" folder contains files among other things, created during the printing process. If the "general" folder, found by default here (C:\Program Files\Pyramid 2018\repository\general), has grown to a large size, it can be cleaned up to remove any redundant files using the following instructions.

1) Download the attached zip file and unzip it.

2)Open a command prompt(as admin) from the folder you unzipped the files to (This can be done by holding down the shift key and right clicking.) and run the below command:

java -classpath "lib\*;conf\*;" com.pa.tools.PrintingDirectoryCleaner  path="C:\Program Files\Pyramid 2018\config.ini"

*change the path location to reflect the drive that you have Pyramid installed on.

3) Once the tool has finished removing any files that are not needed, you will see the below summary screen at which point the command prompt can be closed.

**Please note, you may need to setup your Java paths as below if the above commands fail.**

This link explains how to do this, however use the below paths, not the ones in the link.

https://javatutorial.net/set-java-home-windows-10

PATH
C:\Program Files\Pyramid 2018\java8\jre\bin;
JAVA_HOME
C:\Program Files\Pyramid 2018\java8\jre;

1reply Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • Brilliant. Thanks for this, guys!

    Reply Like
Like1 Follow
  • 1 Likes
  • 1 mth agoLast active
  • 1Replies
  • 48Views
  • 2 Following