Purge Command in Creo :
Purge command in
Creo helps to remove all the old versions and retains the latest version of
Creo files (prt,asm,drw etc).
Without opening a Creo session, we can execute purge command from any directory. But
before that we need to make sure that
1.
An environment variable value set for “Path”
parameter.
2.
Paramter value should be equal to the path where
the “purge.exe” resides
How to set the environment variable value?
Step 1
Go to System window and click on Advanced System Settings
Step 2
Click on Environment Variables… button
Step 3
From System Variables select
Path and click
Edit button
Enter a variable value for path. As mentioned earlier it
should locate the purge.exe. If you see an already existing path variable
value, use “;” for separating different paths. Say x ,y and z are different
path variable values then use x:y:z as depicted below
Normally the path variable value should be “C:\Program
Files\PTC\Creo 4.0\F000\Common Files\x86e_win64\obj\purge.exe”
How to execute the purge command after setting up everything?
Go to the folder location where you have the creo files to
be purged.
See fg0005.prt.8, fg0005.prt.9, fg0005.prt.10, fg0005.prt.11
and fg0005.prt.12.
And also different versions of fg0003.prt, fg0004.prt and
fg0006.prt.
Press SHIFT key and RMB click
Choose Open command window here.
Now type Purge and press Enter
All files within the folder will be purged and you can see
only latest versions of creo files
Hope this topic was helpful! Please feel free to download
pdf file of this topic here!
Thanks