×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

How Do You Delete Old Versions

How Do You Delete Old Versions

How Do You Delete Old Versions

(OP)
Help!!!!!!!!!!!!!111 I have a folder with many parts, assemblies and drawings. Is there a way to delete old versions with out bringing up every item and using the command to delete old versions.

Danoo

RE: How Do You Delete Old Versions

Click...

File...Delete...Old Versions.

That's in WF2, it may be different in other versions.

Adrian

RE: How Do You Delete Old Versions

Oops...

I didn't read all of the post.

We have written our own script file that deletes all old versions. I could forward it..?

Adrian

RE: How Do You Delete Old Versions

Use spurge, a very powerfull and cute program.

-Hora

RE: How Do You Delete Old Versions

A few words to the wise.  

1) You want to create your action for file type "Folder", not "File Folder".  Don't ask me why there are two seemingly identical types or what the difference is, it's just the way Mr. Bill wants things.  

2)  Be careful.  If you screw up you will not be able to edit or remove your new action through the same interface that you made it.  For some other reason known only to Mr. Bill, you will have to edit the registry to fix it.

I just create an action to open a dos command window & then type purge in it or any other dos command.  I find that more useful than creating an action for every type of command I might want to run.

RE: How Do You Delete Old Versions

you will have to edit the registry to fix it.

yeppers on that.. you would think you would be able to edit..but no... that darn Mr. Bill smile


I just create an action to open a dos command window & then type purge

I just mapkeyed the purge part...

RE: How Do You Delete Old Versions

If your talking about PRO-E files within a dir. as in file.prt.1, file.prt.2, file.prt.3, ...
Than: window/command prompt/purge  Make sure you're in the current dir.

RE: How Do You Delete Old Versions

I've basically used the Sherpa method with my purge.bat file having this in it:

CODE

cd "%1"
C:\<PATH TO WF2>\i486_nt\obj\purge.exe
del *.plt
del *.inf.*
del *.ref.*
del *.tst.*
del *.memb.*
del *.ers.*
del *.info.*
del *.ger.*
del *.m_p.*
del *.lst*
del *.crc
del std.out
del *.log.*

You'll want to edit that list if there's any files that you want to keep.

RE: How Do You Delete Old Versions

Agree with Hora, spurge (Spekan Purge) is the best way to go. You can slect the number of versions to keep, and it can be set up as a right click option on a folder in windows.

RE: How Do You Delete Old Versions

Or...

Set as working directory the folder where you want to erase the files. Then Click Window menu - Open System Menu, it'll open a black window much alike DOS windows, then type PURGE, and hit enter, close the window, change to another directory and repeat as many times as you need it. It will erase all old version in that directory.

Hope it helos

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources