Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
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
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.
Hi,
make a test described below:
Martin Hanak
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
Go to command promoat select the particular folder to be purged and type "PURGE ALL"
it help you.