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.
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.
make a test described below:
this is interesting!
Yes this looks like the regular purge.bat script from Creo - except for the additional commands
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?