Skip to main content
1-Visitor
January 20, 2014
Solved

Issue with purge

  • January 20, 2014
  • 3 replies
  • 9052 views

Hi I have some proe files in my local drive. It contains many versions i.e cam.prt.1, cam.prt.2, cam.prt.3 so on.

Can anybody help me to make purge. need to delete old versions.

In previous proe versions I can easily purge the folder but in Creo parametric 2.0 I'm struggling to do it. kindly help thanks


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
Best answer by Dale_Rosema

http://innotiv-spekan-purge-tool.software.informer.com/3.3/

Hope this helps.

Thanks, Dale

3 replies

Dale_Rosema
23-Emerald III
January 20, 2014

I use a program called SPurge.exe that you can tell it to delete all but the last # of versions. (I have mine set to leave the last 4 versions).

When I am done purging, my file may be:

part.prt.123

part.prt.124

part.prt.125

part.prt 126

All version before .123 were erased.

I hope that this helps and by the way, welcome to the furom.

Thanks, Dale

1-Visitor
January 20, 2014

Many Thanks, Can you help me to elobarate your answer.

How to implement "program called SPurge.exe". Sorry I dont get idea in this

Dale_Rosema
23-Emerald III
January 20, 2014
14-Alexandrite
January 22, 2014

A million years ago, me and some people in the Pro/E newsgroup came up with a batch file that deletes files you don't want, and then calls the Pro/E purge.bat and does a normal purge. and then I have that setup in the right-click context menu so when going through directories in Windows Explorer I can purge quick and easy.

From what I can tell it's very similar to Olaf's purge tool.

I have not used the Spekan tool for years, so not sure how it runs today.

I can paste the batch file if anyone wants it.

ppurge.jpg

1-Visitor
January 23, 2014

Yes please can you paste the batch file and kindly explain how to create pro/purge. Thanks

Curious to see how it works!!!

14-Alexandrite
January 23, 2014

This is the code in the batch file, just cut/paste this into Notepad and edit it for your information and then save it, then rename it with a .bat file extension.

The lines with "echo del", the del is DELETE , and it's a hard delete, everything with those extensions is gone when you run the batch file, so edit that area, take out things you want to keep or add other file extensions if you have other things you want to delete.

Adding items to the context menu is adding some lines in your registry and some people are not comfortable with that, so I am not going to describe that here, also because there are countless guides on how to do it already. So you can Google "add item to context menu background" and there are guides for that, the key part of the registry entry is the "background" entry if you want to be able to right click any where in the current window and purge it.

And/or you can check out Olaf's tool, I am pretty sure his installer writes to the registry for you. But you don't have the delete options, it all depends on what/how you want to purge.

CD "%1 %2 %3 %4 %5 %6 %7 %8 %9"

echo y | del *.crc.*

echo y | del *.log.*

echo y | del *.m_p.*

echo y | del *.ger.*

echo y | del *.inf.*

echo y | del *.lst.*

echo y | del *.bak

echo y | del *.out

echo y | del *.acc

echo y | del *.plt

echo y | del *log.xml

"C:\Program Files\PTC\Creo 2.0\Parametric\bin\purge.bat"

1-Visitor
February 11, 2015

I use this creo purge of these http://www.proesite.com sites in the Utilities tab