Purge ProE directories in XP

Discussion in 'Pro/Engineer & Creo Elements/Pro' started by kenny, Nov 8, 2004.

  1. kenny

    kenny Guest

    Hi,

    I have recently upgraded my machine from NT to XP with all the usual
    hassle. I have a handy purge facility that the group might like to
    share. This only worked after I figured out the last line.

    It doesn't work on sub-directories, I would be interested if anyone
    could suggest how to edit this to do so.




    Clean up and purge any Pro Engineer directory, RMB 'PurgeProe'

    This will purge prt and asm files as well as remove other information
    files as shown in the batch file.

    Write the batch file and save in c:\
    Do this in notepad then change name to proe_purge.bat when finished.

    CD "%1 %2 %3 %4 %5 %6 %7 %8 %9"

    echo y | del *.crc.*
    echo y | del *.log.*
    echo y | del *.m_p.*
    echo y | del *.ger.*
    echo y | del *.inf.*
    echo y | del *.lst.*
    echo y | del *.log.*
    echo y | del *.plt
    echo y | del *.idx
    echo y | del *.tst

    c:\proengineer\proe_2001\bin\purge.bat

    the last line is a PTC provided file for the application, make sure that
    the path is correct on your machine.

    To add this action to the RMB
    Open any directory Tools/ Folder options…/File Types/ File folder/
    Advanced/ New…
    In Action type PurgeProe
    In Application used to perform action Browse to c:\proe_purge.bat OK

    WindowsXP has a known issue with adding actions to file folders in that
    it changes the default action from Open to Search.
    To correct this Start/ Run../regsvr32 /i shell32
     
    kenny, Nov 8, 2004
    #1
  2. Didn't get much from the purge stuff (already had this setup), but thanks
    for the tip on getting XP to change the default action back to OPEN.
     
    Clay Sakewitz, Nov 10, 2004
    #2
  3. kenny

    kenny Guest

    Thanks, send it to info at rg3.com
     
    kenny, Nov 16, 2004
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.