Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts!
X
Hello all, I know there is a way to delete all old files in one folder at one time. I just am tired of trying to find out how in the ptc.com crap site. Anyone want to fill me in so I can get it done without spending my whole life searching ptc.com. Thanks Daryl
Do a search for TruE Utilities. I'm not sure if you can find it anywhere anymore but it's a decent third party freeware that does a folder purge of Pro E files. Also in Pro E there is a purge.bat somewhere that does the same thing, but you have to copy it into the folder you want to clean.
Thanks. I actually found something in case you wanted to know also. I created a mapkey for this purge.bat and it works perfectly. TPI 33524 Thanks again for the help. Daryl
Chris,Daryl, there still is the purge.bat placed in the bin directory of your Pro/E instalation. Just make sure that the bin directory is set in your path variable then you can run a purge in a DOS command line in each directory or write a batch file that does that for you in your complete folder structure as a routin. Cheers Thomas
If you're happy using Regedit, you can add Purge to the context menu on a folder within Windows. Add My Computer\HKEY_CLASSES_ROOT\Folder\shell\purge with a default value of P&urge (this makes U the hotkey) then add ...\shell\purge\command with a default of <full-path>\purge.bat %1
Pick, "Window" Pick, "Open System Window" A window will open showing the directory path of your current working directory. Type, "Purge" then enter. Or You can search the internet for a utility called "Spurge.exe". It is a stand alone program that runs outside of Pro E. I can delete several diferent types of files that Pro E creates, .log, .m_p, .idx, etc....
I've done the following. Create a .bat file and paste this text into it. Leave it on your desktop and copy it into whicever folder you're working in. Double click to cleanup you folder. del *.bom.* del *.inf.* del *.log.* del *.lst.* del *.rel.* del *.tst.* del *.err.* del *.crc.* del *.idx.* del *.usr.* del *.m_p.* del *.xpr* del *.xas.* del current_session.pro purge.bat It can be customised to delete various files that aren't needed and then it runs the pro/e purge.bat which will delete old versions.
It is 2010, it never ceases to amaze me how many of PTC's functions still rely on a DOS prompt or system window to execute. I'm relearning things I had stopped using back in the early 90's!
I think this topic points out why Pro E is losing market share to other cad programs like Solidworks. After I finish a design I have to clean up my directories because my awesome cad program made a mess and now I have another task to take of!
You could use SpekanPurge http://www.usginnotiv.nl/en/31366/sTools.html or DrPurge by arossbach http://proe.cad.de/downloads/proe.html These tools do what you want, even to folder trees. SpekanPurge even lets you choose how many versions you will keep. Reinhard
You can try this way 1:pick "window" on the proe interface, 2:input "purge" and knock at the "enter"; 3:input "dir" and knock at the "enter";(all the old version have be deleted) 4:input "exit"and knock at the "enter";(you will exit the dos interface )