cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Purge.bat

Highlighted
Newbie

Purge.bat

Hello,

Just installed Creo 3.0 M040. But the purge.bat file does not seen work, It does not purge all the older versions.

In the purge.bat file, I added some DOS commands to remove some extra manufacturing files and it does remove

these files, so I know the purge file looks at the right place. However, it does not remove all the older versions.

Any help will be greatly appreciated.

DoVan

Tags (2)
4 REPLIES 4
Highlighted

Re: Purge.bat

I don't know about you, but a lot of people are not going to be able to look at your .bat file, because virus and other protection software will not (rightly so) allow such things to be opened, or "executed" from the browser.

As for the purge command, have you made sure the correct path is specified so Creo can find the program that does the actual purging (purge.exe or something like that)? I've noticed in previous updates that my paths were completely messed up and I had to manually fix them.

Highlighted

Re: Purge.bat

Hi,

make a test described below:

  1. create new directory with FULL access rights
  2. create new part and save it in the directory several times
  3. open System window from Creo
  4. run purge.bat and check the results

Martin Hanak


Martin Hanák
Highlighted

Re: Purge.bat

Hello Dovan,

this is interesting!

Yes this looks like the regular purge.bat script from Creo - except for the additional commands

del *.ncl.*

del *.mbx

del *.lst.*

del *.acl

del *.crc

del *.log.*

del *.pts.*

del *.err.*

del APS00W07

before the actual executable purge.exe is called.

If you remove the extra lines, does it work then?

How will your script react, if one of the delete commands fails (because there is no file to delete)? Will it break up?

Thanks,

Gunter

Highlighted

Re: Purge.bat

Go to command promoat select the particular folder to be purged and type "PURGE ALL"

it help you.

Announcements